is it possible to compress this:
into small loop?Code:cout<<endl; cout<<endl; cout<<endl; cout<<endl; cout<<endl; cout<<endl; cout<<endl; cout<<endl; cout<<endl; cout<<endl;
This is a discussion on Repetition of a line within the C++ Programming forums, part of the General Programming Boards category; is it possible to compress this: Code: cout<<endl; cout<<endl; cout<<endl; cout<<endl; cout<<endl; cout<<endl; cout<<endl; cout<<endl; cout<<endl; cout<<endl; into small loop?...
is it possible to compress this:
into small loop?Code:cout<<endl; cout<<endl; cout<<endl; cout<<endl; cout<<endl; cout<<endl; cout<<endl; cout<<endl; cout<<endl; cout<<endl;
Code:for (int i = 0; i < 10; i++) cout <<endl;
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]