I got this idea from the Perl guru forums. In c++ golf one person gives a problem and everyone else try's to solve it with the least lines. Of course in Perl insane one liners are possible but it should still be fun to do in c++. Any one is free to give a problem so bring em on people!
I assumed a number of lines = number of ; . There are 5 of them.
I think there is a couple of things I could change to cut down to 3. Maybe I'll do that later..
Though I think it would be best to count number of symbols.
if a line feed means ending a line with a ; then ya a one liner is just that. one line of code. google crazy Perl one liners. oh forgot to say: comments don't count towards line count.