When i do this
printf("Blablabla")
printf("blablabla")
Instead of printing the second line in the second line it prints both in the same line how to make it print in second line and how to give spaces in c++
i just didnt paste the inludes they are available in my code, And now i fixed that error, But exit error still exists, Cant figure out a way, See what i need is when he types is , It says u are dead and yay press enter again the program exits, But what if he wants to type another is or wer in the same console without restarting, And after he types wer the previous text should be erased, Thanks , hope u understand
<iostream> includes <string> in Visual C++ Express.
But it doesn't have to. That might change in a future version of VC++, for example. And it might not be the case if you try to compile on another compiler.
If you're using string, it's best to #include <string> specifically and not assume it's already included via another header.