T
Tohz
Anyone has good Linux C++ tutorials? cuz I've been looking on google
and altavista and couldnt find any good tutorials.
and altavista and couldnt find any good tutorials.
Tohz said:Anyone has good Linux C++ tutorials? cuz I've been looking on google
and altavista and couldnt find any good tutorials.
GTO said:A Linux C++ tutorial does not make sense to me. Linux usually ships with GNU
C++ (called g++), which is one of the most compliant C++ compilers
available. A good textbook about C++ and a good book about Linux programming
(mostly using C examples that explain inter process communication, socket
programming, etc.) will do wonders.
One of the best things about Linux is that it provides an excellent
environment to program in any reasonable programming language. And unlike on
Micro$oft 200X, C++ on Linux does not come with humongous C++ libraries,
which lure the inexperienced programmer into believing that such libraries
are really necessary to write efficient code and forcing the users to buy
countless books about these extension libraries (such as books about visual
studio 2003, 2005, 2007, 2009.). Such platform dependent libraries appear to
me like traps to make people write platform dependent code that is under the
control of.......but that's not really the topic of your question.
To get back to your question, you might want to buy:
1) Stanley B. Lippman and Josee Lajoie, C++ Primer, Third Edition (or
later edition).
2) John Shapley Gray, Interprocess Communications in Linux: The Nooks
and Crannies
As a first exercise, you might want to write you own C++ wrapper class for
TCP socket communication and a nice class to handle mutex locks for pthread
programming. If you need examples in how to do this, you can look into the
source of wxWindows (now called wxWidgets ????), which you can get from
www.wxwindows.org.
Gregor
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.