HD4670 vs. 8800GT Alpha Dog

Page 2 - Seeking answers? Join the Tom's Hardware community: where nearly two million members share solutions and discuss the latest tech.


I know I could have looped the code, but as you see, I only posted mine once. Besides, I wanted to show 'proper' syntax and spacing. Want me to start an ADA course next? 😀

And for the record, always encapsulate in brackets, to avoid the "dangling else" case, and the for loop doesn't work as intended:

//Header files:
#include<iostream.h>

//Begin MainProcedure
void main()
{
cout << "Buy the HD 4770 or the 8800GT"<< endl;

//Begin ForLoop
for (int i = 0; i<3; i++)
{
cout << "I have posted " << i+1 << " times." << endl;
} //End ForLoop
} //End MainProcedure

And no, I have no idea how we got here, but FYI: 8800GT > 4670.
 




Dude comments are for beginners (unless you are making a big big program)
Adding spaces makes it presentable but whats the need for it in such a small piece of coding??????HUH?
 
Thank you all x3!!!
Thank you all x3!!!
Thank you all x3!!!
I will not triple post! 😀
I will not triple post! 😀
I will not triple post! 😀
Thank you all x3 once, again for you support!!! x3 😀
Thank you all x3 once, again for you support!!! x3 😀
Thank you all x3 once, again for you support!!! x3 😀
 


Anyone who doesn't properly comment shouldn't be allowed to code. Trust me, the first time you need to convert a BASIC program on a BASIC fork, you'll appriciate comments that tell you WTF the program is doing.