C and C++

Moderators: None (Apply to moderate this forum)
Number of threads: 28629
Number of posts: 94611

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Differences between C and C++... Posted by Gregry2 on 15 Aug 2010 at 12:00 PM
I've had someone tell me that I really don't know C++...which is probably fair. He claimed that someone from C could come in thinking s/he has a handle on C++ but only knows the syntax and basic OOP.

Okay, so what don't I know that every C++ noob (from C) should know? I know about C++, but what design principles, philosophies, etc. Am I missing?

PS: I know this site is dead and dying, but I need to stop making accounts all across the internet and start using the ones I have.
Report
Re: Differences between C and C++... Posted by AsmGuru62 on 19 Aug 2010 at 5:17 AM
All one needs in C++ is basic OOP - all the other crap C++ has is of no use. It only hides the code and makes life miserable.

Learn templates - they are a good addition to basic OOP, but that is it. There are good tutorials on C++ on the web - Google for these. Example: Bruce Ekkel book I believe is a very good resource on how to think in C++. Also, get a book on design patterns - very much needed if you want to go professional in C++.

Also, learn a bit of Assembler, because sometimes you need to see what some C++ statement does under the hood and if you disassemble that piece and understand it - it will help immensely.
Report
Re: Differences between C and C++... Posted by bilderbikkel on 19 Aug 2010 at 11:24 AM
Google is your friend:
- http://www2.research.att.com/~bs/bs_faq.html#what-is
- http://www.parashift.com/c++-faq-lite/big-picture.html#faq-6.8

Personally, I use the design-patters, type-safety and other techniques in C++ that I do not enjoy working with C anymore (though I never needed any assembly).

Bilderbikkel



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.