#include <iostream>
using namespace std;
and then the
int main(int argc, char** argv)
{
    // Your stuff here
    return 0;
}
That is all the standard... the trick to it is to use a compiler like gcc or so that actually gives you warnings for non-standard code.
But that is all a moot point to this post 
