About FFLUSH in C++
-
when i get a string by using gets(ch) (ch is char *), i just get the wasted value at the stdin, not exactly the value i want. How is it? How can i solve this problem? PS : The same problem happened when i use both cin and scanf in same project. Ask More - Learn More JohnJone
-
when i get a string by using gets(ch) (ch is char *), i just get the wasted value at the stdin, not exactly the value i want. How is it? How can i solve this problem? PS : The same problem happened when i use both cin and scanf in same project. Ask More - Learn More JohnJone
-
when i get a string by using gets(ch) (ch is char *), i just get the wasted value at the stdin, not exactly the value i want. How is it? How can i solve this problem? PS : The same problem happened when i use both cin and scanf in same project. Ask More - Learn More JohnJone
-
when i get a string by using gets(ch) (ch is char *), i just get the wasted value at the stdin, not exactly the value i want. How is it? How can i solve this problem? PS : The same problem happened when i use both cin and scanf in same project. Ask More - Learn More JohnJone
john_tran wrote: ...i just get the wasted value at the stdin... What exactly is a "wasted value?"
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow