Trying to do Matrixy Text in C++

samuel77

New member
While we were doing loop demos in class (HS C++ Half-year course), me and my friend found that if you set the loop number (middle section) to more than a couple thousand, it'll keep running text over the screen up and down.


Well, I was just trying to do this at home and Idk if I did it right. It'll just print it once. The main thing I'm getting at is that I want a constant flow of numbers and letters just for kicks to look cool.


Here's the code I just made in Visual C++:
I think I got some of the Loop code wrong. Help me out if you can guys .

#include(Iostream Library in C++, Forum won't show)
#include(Iomanip.h Library in C++, Forums won't show)

int main (void)
{
int x;

{
for (x=1 ; x>=2000000; x+=1);

cout<<"1 2 3 4 5 "<<(endl; I CAN"T DO THIS ON FORUMS CAUSE IT JUST SKIPS LINE -->BASICALLY ENDL
}




return 0;


}
 
Well I'm not at C++ yet. I should be finishing a class on it, within this year hopefully. I'm taking java at the moment and have made some matrix like effects with loops. So if your going to use java I can probably help you out.
 
Back
Top