GLProgramming.com

home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-


New Paste :: Recent Pastes:: Add Line Numbers


A Paste by Anonymous
#include <iostream.h>

int main()
{
    int e=0;

    cout << "The what's faster quiz by JazzD" << endl;


    for(int i=0;i<101;i++) {
        e = e + i;
    }

    cout << e << endl;

    cout << 50 * 101 << endl;

    cout << "OMGAH the second method is faster.." << endl;
    return 0;
}