thank for reply but tell step-by-step instruction to compile my c++ programme i installed gcc but don't know how to use it.

thanks
ok ok ok i am getting errer message which is
file.cpp:3: error: ‘::main’ must return ‘int’
OOOOO yes thanks. i successfully compiled my programme but not able to run the compiled programme.
i am working on it. thanks again
ok tell me how compiled programme can run.