ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Well , I don't need help so much as some points in the right direction. Here is my list of questions.
A. What are some good C++ Linux books I can learn from
B. What are some good website references
C. How advanced would one have to be to start looking at the kernel source and learning from it?
D. I bought the book "C++ for dummies" and it only has console stuff, can I use it with Linux?
Location: Student of University of Mumbai, Maharastra State, India
Distribution: Redhat Linux 9.0, Knoppix LIVE CD, Ubuntu Live CD, Kubuntu Live CD
Posts: 483
Rep:
One, there are a lot of good C++ books you can learn from.
One is, Object Oriented Programming with C++, by E. Balaguruswamy, and is much easier to grasp as a beginner.
Thinking in C++, by Bjourne Stroustrap is good. (psst..he's the inventor or originator )
"The complete reference: C++" by Herbert Schildt is another good book.
For using C++ in linux you must have the gcc compiler installed. You can search google for how to compile and run C++ programs. Another form of gcc is g++ compiler.
www.programmersheaven.com is one of the best ones where you would get a lot of source code of different variety of programs.
Originally posted by Vodius Well , I don't need help so much as some points in the right direction. Here is my list of questions.
A. What are some good C++ Linux books I can learn from
B. What are some good website references
C. How advanced would one have to be to start looking at the kernel source and learning from it?
D. I bought the book "C++ for dummies" and it only has console stuff, can I use it with Linux?
Thanks in advanced.
A. All C++ books are compatible with Linux. Languages (unless specifically designed for a particular OS like Visual Basic) works on any OS that you can get a compiler for. C++ doesn't have any OS-specific features in it's standard form.
hi,
I don't think about hacking the kernel like a simple task, could you write some windows stuff in a matter of months if you had the source? Excuse me but I don't think so... but it all depends on you at the end. If you are in a hurry, have yourself helped by an advanced c++ programmer(ie not the average you find in universities or programmers doing simple/medium projects in the enterprise.
I would recommend learning basic console C++ before you get into anything platform-specific. That way you have a good C++ foundation and you know clearly what is standard C++ and clearly what is Linux C++. The console stuff should be entirely portable to any platform as long as you don't use any libs that aren't part of C or C++.
As far as kernel programming, that is done in C which doesn't have near the features that C++ does; by learning C++ you also learn a lot of C, but unless you set out to learn C also it's vague as to what parts of C++ are C as well.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.