Good C++ tutorial which works for linux?
Hi,
I am search of a good c++ tutorial which works for gcc in linux, and not doing all the MS Visual C++ Code which gcc (likely) doesn`t accept. Do you know any good source, I am really hot to learn it :) I have searched the web before, but there are thousands of tuts, and I dont want to waste the time on a bad tutorial... Regards, -shad |
C++ is C++ everywhere :). What can happens is, that sometimes, some headers are shipped with one compiler that is not shipped with another one. At the top of my head, I'd say conio.h that has, among many others, the function getch(). That will only work with DOS compilers as Borland, DevC, Visual C++. What you can do is to get started anyway. When something does not work, then try to find a work around for it. There won't be many problems though. The important is to have a good understanding of the language first, I believe. Here are some very cool tutorials:
http://www.cplusplus.com/ http://www.cprogramming.com/ For g++ usage, you can simply do: g++ -o <executable name> <yourSource.cpp> To run your applications, do: ./ <executable name> That would work with most basic programs since, at least at the beginning, you won't be linking libraries and stuff :) Good luck! |
Thanks for your reply.
The thing is, I have been programming a lot of PHP before, so it is not quite hard to migrate... at least not for the basic functions. What I am interested most are the "advanced" functions of C++, cause the basic is not hard to learn... I`ll check the links out, thanks -shad |
Cool :) And I'm trying to learn php...ghehe. Well, anyway, those tuts has some advanced stuff. I cannot remember if they go up to classes as well, but probably they do :).
Good luck mate! |
|
http://www.neonostalgic.com/neo/c.html has good tutorials for C, and a bunch for UNIX/Linux programming. Also, you can find XLib and Linux GUI tutorials. :)
|
|
Quote:
-AquamaN |
All times are GMT -5. The time now is 08:39 AM. |