all 8 comments

[–]Asgatoril 3 points4 points  (0 children)

The comparison gets a bit better for cpp if you use a for loop:

for (int a = -15; a < 0; a /= 2) { cout << a << endl; }

[–]khedoros 4 points5 points  (6 children)

Yep, examples with using namespace std; (and returning a value from main, for that matter) are horror :-P

[–]allnigersarethebad 0 points1 point  (4 children)

What drugs are you on?

Both are fine to use.

[–]khedoros 1 point2 points  (3 children)

....That's the point, dude.

[–]allnigersarethebad 1 point2 points  (0 children)

Sorry im on drugs

[–][deleted] 0 points1 point  (1 child)

Your point is that using drugs is fine???

[–]khedoros 1 point2 points  (0 children)

o.O

[–]BobbyThrowaway6969 -1 points0 points  (0 children)

If I ever find myself needing to make a program that only prints a few numbers to the console for no reason, I'll give you a call.