|
-
October 25th, 2008, 06:13 PM
#2
Re: In search of code that uses every feature of C++
Hi Guy,
You can try the code below. For a start and then other members they shall help you. Becareful the code is looping using ( while ) loop.
regards,
curiaquita
#include <iostream>
int main(int argc, char *argv[])
{
int i=0;
while(i++ < 10)
{
std::cout << i << std::endl;
}
std::cin.get();
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|