c - How does one represent the empty char? -


i'm writing little program keep getting error when compiling

error: empty character constant

i realize it's because i'm trying replace valid char empty space c[i]='' have not been able find way represent it.

you can use c[i]= '\0' or c[i] = (char) 0.

the null/empty char value of zero, can represented character escaped zero.


Comments

Popular posts from this blog

Line ending issue with Mercurial or Visual Studio -

java - Jtable duplicate Rows -

java - Run a .jar on Heroku -