×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

newbie question...

newbie question...

newbie question...

(OP)
Hi guys,

I am about mid level in C, I want to learn about C++ and I'm pretty newb in C++, is there any way that I can start to learn ?

How similar between C and C++, and if I use window, what do I need to install and If I use linux what package do I need to install.

Thanks guys,

RE: newbie question...

This is a pretty good list
http://www.rafb.net/efnet_cpp/books/

> How similar between C and C++
They've been drifting apart for 25 years.  Whilst there is superficial similarity, there are some deep-rooted differences as well.
http://david.tribble.com/text/cdiffs.htm
Whilst C++ is a semantic superset of C, but the same certainly isn't true at a syntactic level.  Some valid C programs will not compile at all as C++, and some others will just work differently.

Also the whole approach of C++ encourages you to adopt an object oriented approach.  Whilst you can do 'OO' in C, and write imperative programs in C++, neither are regarded as a good choice (unless it's your only choice).

> if I use window, what do I need to install and If I use linux what package do I need to install.
If you've already installed 'C', chances are you've already got C++ capability as well.

--
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.

RE: newbie question...

(OP)
Hi Salem,

I haven't got anything in windows yet. So what do I need to install, I just got C in linux as part of package installation OS ?

Thanks mate

RE: newbie question...

http://www.thefreecountry.com/compilers/cpp.shtml

Also gaining popularity, but not listed is http://www.codeblocks.org/downloads.shtml
It's the apparent successor to dev-c++, both of which are IDE's around the MinGW compiler.  If you do get devc++ or code::blocks, be sure you get the larger version which has the compiler as well (the smaller ones are the IDEs alone).

Visual Studio Express is another good choice.

Most Linux distributions come with GCC (a whole suite of languages), but not all of them install it by default.

--
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close