i did a search and found the following solution which seems alot simpler. I do like the time thing though, thanks for the reply!
#include <iostream>
#include <stdlib.h>
using namespace std;
int main ()
{
for(;;)
{
cout << "Hello world !" <<endl...
I'm an amateur c++ programer using Metrowerks CodeWarrior. I currently have a for loop that outputs text using cout. The next time the loop is called, it creates another line of text in addition to the first line. I would like the for loop to clear the output screen each time it is called so...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.