0
Is there any way to check whether a character is equal to white space ??
tried isspace even [I]==' ' din work
31 Réponses
+ 1
it's space key has ascii value 32
+ 1
ty man @Deepak
+ 1
yeah man
+ 1
codeblocks
+ 1
is it good??
0
try getchar()
0
std::getline(std::cin,a);
strcpy(c,a.c_str());
for(I=0;I<10;I++)
{
if(ispace(a[I])
{cout<<"its white";}}
0
such that all the variables are declared
0
both not working
0
no isspace needs a character as an argument
0
the code above is it
0
I got it right the problem was with that I was using cin in my program
0
sorry I couldn't as I was writing the code but by mistake I killed the app so got frustrated to type again
0
thanks btw@immortal
0
yeah the code was right but I had made a small mistake
0
btw which ide do u people use??
0
recommend me one
0
I thought of using eclpise
0
is netbeans good for jse and jee?