the most basic way of doing this is from command line ...
you can use a text editor such as :
just to name a few .... to code your project
and then you type :
to compile your projects ... the output will be an executable called :
if you want them to have specific names then type :
gcc name.c -o MyProgram
g++ name.cpp -o MyProgram
and in both cases the executable will be of course called MyProgram ...
but if you use GUI apps, then you can have all of the above automated for you ..
some apps include :
also, just to name a few ...
hope this points you in the right direction
actually i just re-read what you said ...
and to just clearify something with you, cause i know i am not removing all of what i just typed, even though it may be irrelevant ....
but when you compile these programs in linux, they are not
going to run in windows