The core C++ language is the same on all platforms (that's why we give it the same name
). Obviously anything more complicated than simple file i/o requires you to make calls to the operating system which will differ between Windows and Linux.
Using gcc on the command line is pretty easy (man gcc for more info). This would compile test.c and produce the execuatable file test:
gcc test.c -o test
For C++ files use g++:
g++ test.cc -o test
(A variety of file extensions are used for C++ files under UNIX/Linux, you can use .cpp if you want to).
For larger projects you'll want to look into Make and the Autotools (do some googling). Standard GUI toolkits for Linux are Qt (www.trolltech.com
) and Gtk+ (www.gtk.org