Jump to content

Learning C/C++


Recommended Posts

I would like to know what are some good books and/or Internet sites to learn C and C++ Programming from. I am trying to learn the C++ mainly but have searched around and seen that it helps to learn C++ if you already know C; that is the only reason I am even interested in C.

I would also like to know good programs to program in. I will be mainly using CodeBlocks or Notepad++ but would like to know what other programs are good to program with. I will be programming in both Linux (Ubuntu) and Windows environments.

Thank you for all the help in advance.

Link to comment
Share on other sites


This thread has plenty of info.

I use Xcode and gcc+vi, the book I "taught" myself with was this one, but it looks like they've updated this to the fourth edition.

I also should point out, that I didn't actually read the book, so I have no idea if it's good or not...,

Link to comment
Share on other sites

How I learned... Download dev-C++. After that make a simple program;

#include <iostream>

using namespace std;

int main()
    cout << "Hello World!" << endl;
    return 0;

You just learned how to make it talk! Now you move on to something a bit more advanced. Just start reading code little by little, eventually you will begin to be able to make out what its doing, or trying to. Its not easy but well worth the time IMO. I use to use it a lot to make special programs that just make life easier, then came linux and bash.




Link to comment
Share on other sites

So, is it good to know C before learning C++?

It certainly doesn't hurt, there are some similarities with syntax and conceptual ideas of how to implement algorithms..., but the two aren't really the same. Confusing, huh...,

I recommend C++ over C, but that's a personal preference and I'm sure they'll be someone here to suggest otherwise.

Link to comment
Share on other sites

Ok, I guess simply for the sake of tyring to understand it all I will learn C before C++.

Thank you for all of your help.

Really!, you don't have to. C++ is arguably easier to learn and understand.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...