1. thebombzen's Avatar
    What the F???
    I try to compile this simple program:
    Code:
    #include <iostream>
    
    int main(int argc, char* argv[]){
    	cout << "Hello World from C++, not C!" << endl;
    	return 0;
    }
    and my compiler screams bloody murder.

    I am using GNU C Compiler from cydia. Read an article about how to get it somewhere else.

    This is the error:

    Keep in mind that this was done with the less command.

    Does anyone know why this is?
    Here are my include files:
    Tar/gzip
    Rar
    Zip
    Tar/bzip2

    Please Help!

    Bye the way, I got C working.
    Last edited by thebombzen; 2010-06-05 at 02:20 PM.
    2010-06-04 11:48 PM
LINK TO POST COPIED TO CLIPBOARD