0
Need a help in . Making a program
program to print a text on screen which moves to next line and then again to next line till 10th line
6 Answers
+ 2
Wait, scratch my previous post. That wouldn't do that, since the empty lines would come after the text.
You may have to clear the output, then print an empty line, then print the text.
Source on how to clear the output:
http://www.cplusplus.com/forum/articles/10515/
In the loop you could change how many times you'd create a new line so each time the text moves further down.
+ 1
You can use cout << "text";
To print text.
Then, you could use \n to move to the next line.
cout << "text\n";
Or you can use endl;
cout << "text" << endl;
Could use a loop to do this 10 times.
+ 1
What do you mean by that.
Like a delay between each text?
If so, you can't do that on CodePlayground, you'll need a proper IDE/compiler.
You can use something like Sleep() for that. In windows.h library. (On CodePlayground you won't see the delay)
0
but I want text moves continuesly
0
I want it like text moves down like
starting from first line to the last line
0
sry but I didn't understand I opened the link but I did not get it