I thought space was 0x20. . . Whatever it is, I am almost certain it isn't 0x00 , because Im pretty sure that is just a null character A.K.A \0
What are we talking about again?
I thought you get 0xFF when space if pressed.... Now I'm off to find a reliable way to make sure cin never enters a failstate
I thought space was 0x20. . . Whatever it is, I am almost certain it isn't 0x00 , because Im pretty sure that is just a null character A.K.A \0
What are we talking about again?
Yes on the chart I have in front of me both 0x20 and 0xFF are spaces so I guess the terminating character is simply 0x00 or null. We were talking about helping me along with my factoring program which I have finished and its rock solid now thanks to these ways of checking the input.
One last question though.... does anyone happen to know if c++ allows you to manipulate super large numbers in ways other than using math libraries or writing your own functions to do math with arrays?
Anyhow I think 0x00 IS SPACE but you're right to it is at the same time terminating the char
make the experience and enter in cin>>here a char
and enter "blablabla thisisspace" and then look in the char.... I got only blablabla and the rest is lost...
_____________________________________________
READING TUTORIAL:
1. READ MY POST
2. THINK ABOUT MY POST
3. PRESS THANKS
4. MAYBE CORRECT MY POSTS :P
Dijkstra:
"Computer Science is no more about computers than astronomy is about
telescopes."
THANKS BUTTON RIGHT DOWN --->
doofbla (09-27-2010)
ahaaaa ok good to know so thank you
_____________________________________________
READING TUTORIAL:
1. READ MY POST
2. THINK ABOUT MY POST
3. PRESS THANKS
4. MAYBE CORRECT MY POSTS :P
Dijkstra:
"Computer Science is no more about computers than astronomy is about
telescopes."
THANKS BUTTON RIGHT DOWN --->