Use standard functions in the "iostream" header and as said in previous answer, create a project with an IDE of your choice.
#include <iostream>
using namespace std;
int main(int argc, char **args)
{
cout << "Hello world, I could have used google for this :P" << endl;
return 0;
}