Linux & C++

B

Brandon Roberts

I'm not a programmer but i have messed with Visual Basic in windows and made
some things with it but now I'm wanting to learn C++ on linux and I'm
looking for some good free resources to get me started.
 
P

Phlip

Brandon said:
I'm not a programmer but i have messed with Visual Basic in windows and made
some things with it but now I'm wanting to learn C++ on linux and I'm
looking for some good free resources to get me started.

Get the WROX book /Beginning Linux Programming/. I think it's red.

Download its online source, too.
 
J

JKop

Get the WROX book /Beginning Linux Programming/. I think it's red.
Download its online source, too.


I started the same - with VB - and got sick of it.
Get yourself a C++ book. A lot of people here recommend "Accelerate C++",
not sure who it's by. Free resource will just send you around and around in
circles and you won't understand what's going on. You need a good decent C++
book that will teach you C++ from the bottom to the top in an appropriate
order.


From there you can move on to using C++ to write Graphical User Interface
programs in Linux. At this point that book that Philip suggested may be of
value.


-JKop
 
G

Gav

A good book to read would be "The C Programming Language" by Kernighan &
Ritchie. Not a huge book, about 260 pages. I know its not C++ but it would
be well worth reading before reading a C++ book.

Gav
 
J

JKop

Gav posted:
A good book to read would be "The C Programming Language" by Kernighan
& Ritchie. Not a huge book, about 260 pages. I know its not C++ but it
would be well worth reading before reading a C++ book.

Gav


OH GOOD GOD NO! NO! NO! NO!

C++ is a fully-fledged language, it has *it's own*
standard, it has cut all ties with C.

By learning C first you'll just develop bad habits, like
using pointers where references would be better.

I believe that Gav's attitude is that you should learn the
basics first without getting into classes, virtual
functions and the like, and that's grand, just learn the
*C++* basics.


-JKop
 
A

Andre Kostur

JKop said:
Gav posted:



OH GOOD GOD NO! NO! NO! NO!

C++ is a fully-fledged language, it has *it's own*
standard, it has cut all ties with C.

What world are you living in?!!? C and C++ are closely related (but not
equal). It most certainly has _not_ "cut all ties with C"!
 
P

Phlip

Andre said:
JKop wrote:

What world are you living in?!!? C and C++ are closely related (but not
equal). It most certainly has _not_ "cut all ties with C"!

JKop, with his usual reserve, was trying to say "Entry-level C++ code is
much easier than C, and looks completely different. Read /Accelerated C++/
by Koenig to get started."
 

Ask a Question

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.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,172
Messages
2,570,934
Members
47,477
Latest member
ColumbusMa

Latest Threads

Top