I use visual C++.
When I do this code and compile it -
it workd likeCode:#include <iostream> #include <stdio> int main() { char str[100]; cout << "Enter a word: \n"; gets (str); return 0; }
I meen that the "gets" workd before the "cout"Code:#include <iostream> #include <stdio> int main() { char str[100]; gets (str); cout << "Enter a word: \n"; return 0; }
Why ???
Bookmarks