This one is fairly simple but it should help get you thinking about slightly different ways of doing things in C++.
This challenge is C++ only. If you can solve it in C, I will be extremely impressed, though.
Challenge: Write a program which reads integer values from standard input until EOF, then displays their sum on standard output. Do not worry about overflow.
The Goofy Part: Your program must contain EXACTLY ONE SEMICOLON. If you choose to "return 0;" at the end of main(), that semicolon does not count.
You may, and most likely will, use any and all features of standard C++ including STL.