The ProgrammersTalk Community
Forum Register Search Today's Posts Mark Forums Read
Register

Go Back   The ProgrammersTalk Community > General Programming > C / C++


Welcome to the The ProgrammersTalk Community forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.
Tags:

Closed Thread
 
LinkBack Thread Tools    Display Modes   
  #1 (permalink)  
Old 07-08-2007, 03:20 PM
ivanliu55120
Posts: n/a
[SOLVED] can i skip learn C, jump to C++

I Want To Learn C, But My Friend Told Me, I Can Learn C++ Instead Of C. Becuase They Pretty Much Same.

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
  #2 (permalink)  
Old 07-08-2007, 03:30 PM
HelloWorld's Avatar
HelloWorld HelloWorld is offline
Programming Expert
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: In front of computer...
Posts: 1,111
iTrader: (0)
HelloWorld will become famous soon enoughHelloWorld will become famous soon enoughHelloWorld will become famous soon enough
well, i think it's all up to you whether you learn C++ or C, they're actually really extremelly similar as your friend probably told you. They do! But if I'm you, I'd rather learn C++ since there are more features added in C++ that C didn't have since C++ is the evolution from C....

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
  #3 (permalink)  
Old 07-08-2007, 03:42 PM
Konr Konr is offline
Novice
Join Date: Jul 2007
Posts: 10
iTrader: (0)
Konr is on a distinguished road
C is almost, but not quite, a subset of C++. Nonetheless, effective programming in C++ is different to effective programming in C. Many C++ programmers simply program as if they were still using C, with a couple of extra bits thrown in.

The question really is what do you want to programme? What will you build, on what platforms? Learn the tool most appropriate for your use.

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
  #4 (permalink)  
Old 07-08-2007, 03:56 PM
rpgfan3233 rpgfan3233 is offline
PT Staff
Awards Showcase
Quality Tutorial Quality Tutorial Quality Tutorial Quality Tutorial 
Total Awards: 4
Join Date: Jul 2007
Posts: 118
iTrader: (0)
rpgfan3233 has a spectacular aura aboutrpgfan3233 has a spectacular aura aboutrpgfan3233 has a spectacular aura aboutrpgfan3233 has a spectacular aura aboutrpgfan3233 has a spectacular aura about
Quote:
Originally Posted by ivanliu55120 View Post
I Want To Learn C, But My Friend Told Me, I Can Learn C++ Instead Of C. Becuase They Pretty Much Same.
Well, learning C is alright, but you'll run into many more problems than with C++. C isn't any more difficult than C++, but C has many more pitfalls that C++ helps to take care of. I recommend C++ because the learning curve is easier in the beginning. Not only that, but if you don't have very much programming experience, C++ will be easier to understand and figure out because of the way it was designed.

Also, the creator of C++ (originally C with Classes), Bjarne Stroustrup recommends that those wishing to learn C++ not start with C because there are different ways to do things in C++ that can actually hinder your ability to learn to use C++ effectively. I can't remember what book I found that in, but you can check something out here about learning C before C++ - Stroustrup: FAQ

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
The Following User Says Thank You to rpgfan3233 For This Useful Post:
HelloWorld (07-08-2007)
  #5 (permalink)  
Old 07-09-2007, 09:31 AM
ScottHughes ScottHughes is offline
Novice
Join Date: Jul 2007
Posts: 9
iTrader: (0)
ScottHughes is on a distinguished road
I would go with C++, because it is newer. Why learn the old version when you can learn the updated one?

__________________
Check out the Hunger & Poverty Forums and the Costa Rica Forums!
Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
  #6 (permalink)  
Old 07-09-2007, 11:42 AM
HelloWorld's Avatar
HelloWorld HelloWorld is offline
Programming Expert
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: In front of computer...
Posts: 1,111
iTrader: (0)
HelloWorld will become famous soon enoughHelloWorld will become famous soon enoughHelloWorld will become famous soon enough
Quote:
Originally Posted by ScottHughes View Post
I would go with C++, because it is newer. Why learn the old version when you can learn the updated one?
some people do learn the lower level language to understand the fundamental. It may also increases efficiency of the codes on the higher level languages. But I'm not sure whether there's difference between C and C++, are they both lower level language..? Or C++ is slightly higher..?

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
  #7 (permalink)  
Old 07-09-2007, 11:56 AM
rpgfan3233 rpgfan3233 is offline
PT Staff
Awards Showcase
Quality Tutorial Quality Tutorial Quality Tutorial Quality Tutorial 
Total Awards: 4
Join Date: Jul 2007
Posts: 118
iTrader: (0)
rpgfan3233 has a spectacular aura aboutrpgfan3233 has a spectacular aura aboutrpgfan3233 has a spectacular aura aboutrpgfan3233 has a spectacular aura aboutrpgfan3233 has a spectacular aura about
Quote:
Originally Posted by ScottHughes View Post
I would go with C++, because it is newer. Why learn the old version when you can learn the updated one?
Technically speaking, C is the updated one out of the two right now. :p

C99 (1999) and C++98 (1998) are the latest published specifications of those languages. The newest specification of C++, currently known as C++0x, is being worked on right now, and it is expected to be finished for ratification by 2008, meaning that the C++ standards committee is aiming for C++0x to be C++09 (2009).

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
The Following User Says Thank You to rpgfan3233 For This Useful Post:
HelloWorld (07-09-2007)
  #8 (permalink)  
Old 07-09-2007, 12:15 PM
Konr Konr is offline
Novice
Join Date: Jul 2007
Posts: 10
iTrader: (0)
Konr is on a distinguished road
Quote:
Originally Posted by ScottHughes View Post
I would go with C++, because it is newer. Why learn the old version when you can learn the updated one?
C is still the language of choice in embedded systems.

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
  #9 (permalink)  
Old 07-09-2007, 12:39 PM
HelloWorld's Avatar
HelloWorld HelloWorld is offline
Programming Expert
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: In front of computer...
Posts: 1,111
iTrader: (0)
HelloWorld will become famous soon enoughHelloWorld will become famous soon enoughHelloWorld will become famous soon enough
Icon8

Quote:
Originally Posted by Konr View Post
C is still the language of choice in embedded systems.
can we use C++ for embedded system? Is there any particular reason why is that one of the choices...?

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
  #10 (permalink)  
Old 07-09-2007, 12:50 PM
Konr Konr is offline
Novice
Join Date: Jul 2007
Posts: 10
iTrader: (0)
Konr is on a distinguished road
If you can find a way to compile it, link it and get it onto an embedded system, you can use anything you like.

Embedded systems are much closer to the hardware than a desktop application, and as such the more low-level control the coder has, the easier it will be to make the hardware dance.

C is a little more low-level than C++; you could code in C++ without using the higher-level aspects, but then you might as well just use C. Old-school coders think of C as the choice for real-time situations, and embedded systems are all about real-time.

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Closed Thread


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 08:15 AM. Powered by vBulletin
Copyright © 2000 - 2007, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO © 2007 ProgrammersTalk Sedo - Buy and Sell Domain Names and Websites project info: programmerstalk.net Statistics for project programmerstalk.net etracker® web controlling instead of log file analysis


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50