Build Your Own Arcade Controls Forum

Main => Everything Else => Topic started by: Floyd10 on November 20, 2004, 02:23:10 am

Title: Linux C++ from windows
Post by: Floyd10 on November 20, 2004, 02:23:10 am
anyone have any good online tutorials? I know how to program for C++ in windows, but not linux. Needs helps...
Title: Re:Linux C++ from windows
Post by: TalkingOctopus on November 20, 2004, 10:58:47 am
The language does not change on different platforms.  What are you trying  to do?  Compile your program using g++  w/ a Makefile on linux. http://www.cs.wm.edu/cspages/computing/tutorial/gpp.html (http://www.cs.wm.edu/cspages/computing/tutorial/gpp.html) - g++ tutorial.
Title: Re:Linux C++ from windows
Post by: Floyd10 on November 20, 2004, 11:06:47 am
no... but a lot of includes I heard were different like <windows.h> and such.
Title: Re:Linux C++ from windows
Post by: TalkingOctopus on November 20, 2004, 03:12:15 pm
Yes windows specific libraries and windows system calls will obviously not work on Linux.  They are also not part of the C++ standard.  If you want to make a GUI in Linux, you have to find the appropriate library and go from there.  I don't really know much of anything about GUIs so I can't really help there.  However, One of my friends really likes qt, which is available on many platfroms.  I think there is a free student version you could try out.