Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 19th, 2008, 5:06 PM   #1
gt8ost4l
Newbie
 
Join Date: May 2008
Posts: 10
Rep Power: 0 gt8ost4l is on a distinguished road
c++ question

what book should i get on c++
gt8ost4l is offline   Reply With Quote
Old May 19th, 2008, 10:12 PM   #2
Ancient Dragon
PFO God In Training
 
Ancient Dragon's Avatar
 
Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 532
Rep Power: 4 Ancient Dragon is on a distinguished road
Re: c++ question

Click Here
__________________
I Like Ike. Vote for Dwight Eisenhower this November.
--This message brought to you by the the Procrastinators Club Of America.
Ancient Dragon is offline   Reply With Quote
Old May 19th, 2008, 10:31 PM   #3
gt8ost4l
Newbie
 
Join Date: May 2008
Posts: 10
Rep Power: 0 gt8ost4l is on a distinguished road
Re: c++ question

do you know whats the difference between c and c++
gt8ost4l is offline   Reply With Quote
Old May 19th, 2008, 11:24 PM   #4
Jabo
Not a user?
 
Join Date: Sep 2007
Posts: 256
Rep Power: 2 Jabo is on a distinguished road
Re: c++ question

C++ has been named C with classes. C++ being an object oriented programming language would be the main difference. That should give you a place to start.
Jabo is offline   Reply With Quote
Old May 20th, 2008, 5:10 AM   #5
Ancient Dragon
PFO God In Training
 
Ancient Dragon's Avatar
 
Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 532
Rep Power: 4 Ancient Dragon is on a distinguished road
Re: c++ question

Didn't you ever hear of google ? It took me all of about 10 seconds to find all those links that described the difference between the two languages.
__________________
I Like Ike. Vote for Dwight Eisenhower this November.
--This message brought to you by the the Procrastinators Club Of America.
Ancient Dragon is offline   Reply With Quote
Old May 20th, 2008, 5:14 AM   #6
BstrucT
Hobbyist Programmer
 
BstrucT's Avatar
 
Join Date: Dec 2007
Location: Durban, South-Africa
Posts: 175
Rep Power: 1 BstrucT is on a distinguished road
Re: c++ question

Whats the difference between C and C++?

" ++ "

haha, no just kidding, but it really seems like that is the only difference as C++ is a lot more Object Orientated.

Get yourself DEVCPP and a good book to get started.
Oh, and do all the examples, as that will help speed up the learning curve.

Good Luck

>BstrucT
__________________
The more the human race tries to change everything, when not needed, the less will they be able to change themselves when they need to.
BstrucT is offline   Reply With Quote
Old May 20th, 2008, 5:37 PM   #7
gt8ost4l
Newbie
 
Join Date: May 2008
Posts: 10
Rep Power: 0 gt8ost4l is on a distinguished road
Re: c++ question

so you could start with c++ first
gt8ost4l is offline   Reply With Quote
Old May 20th, 2008, 8:19 PM   #8
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 1,009
Rep Power: 5 lectricpharaoh will become famous soon enough
Re: c++ question

Quote:
Originally Posted by gt8ost4l
so you could start with c++ first
Yes. In fact, unless you have a reason for learning C over C++, I'd recommend it. C++ has many things that make programming easier, and help to avoid many common pitfalls of C programming. A couple of examples would be using a C++ vector rather than an array in C, and of course the string class is far easier to use than C-style strings (which are just char arrays) coupled with the C string manipulation functions.
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
lectricpharaoh is offline   Reply With Quote
Old May 21st, 2008, 1:19 PM   #9
JAlexBrown
Newbie
 
Join Date: May 2008
Posts: 11
Rep Power: 0 JAlexBrown is on a distinguished road
Re: c++ question

If you're going to start programming today, I'd suggest jumping ahead and starting with C++. Correct me if I'm wrong, but I believe C code is 100% foreward compatible, meaning that ANY code that would compile with a C compiler will also compile correctly with a C++ compiler.

As far as reading material goes, just google C++ Tutorials and give some different results a shot. I'm sure you can find plenty of resources that way that will help you.
JAlexBrown is offline   Reply With Quote
Old May 21st, 2008, 8:36 PM   #10
Ancient Dragon
PFO God In Training
 
Ancient Dragon's Avatar
 
Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 532
Rep Power: 4 Ancient Dragon is on a distinguished road
Re: c++ question

Quote:
Originally Posted by JAlexBrown View Post
Correct me if I'm wrong, but I believe C code is 100% foreward compatible, meaning that ANY code that would compile with a C compiler will also compile correctly with a C++ compiler.
.
You are wrong. There are several C constructs that have to be changed in order to get a c++ compiler to successfully compile with 0 warning or errors. You obviously never read any of the google links I posted earlier.
__________________
I Like Ike. Vote for Dwight Eisenhower this November.
--This message brought to you by the the Procrastinators Club Of America.
Ancient Dragon is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question regarding data input into PHP/Mysql using something other than GET davil PHP 6 Nov 20th, 2007 8:06 AM
Visual Basic 2005 Question ReubenK Visual Basic .NET 3 Apr 5th, 2006 3:23 PM
How to post a question nnxion C++ 10 Jun 3rd, 2005 11:53 AM
How to post a question nnxion C++ 0 Jun 3rd, 2005 8:55 AM
How to post a question nnxion C 0 Jun 3rd, 2005 8:55 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:04 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC