Results 1 to 6 of 6

Thread: learning more c++

  1. #1
    Join Date
    Feb 2007
    Location
    Phoenix, AZ
    Beans
    68
    Distro
    Ubuntu 7.04 Feisty Fawn

    learning more c++

    Hi, I'm pretty new to programming I took a class in school on c++ and learned the basic (OOP, arrays, classes, functions ect.) now I want to keep learning more but I'm not sure where to go from here, can anyone reccomend a good next step? I kind of want to learn to make a GUI for the simple programs I've written for consoles, but I don't know if that's to difficult, also the class was all C++.NET and everything was for win32 consoles do I need to learn something different to program in linux?

  2. #2
    Join Date
    Apr 2006
    Location
    Ohio
    Beans
    19
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: learning more c++

    No .NET works on linux. There is a project called mono. (http://www.mono-project.com) that is an open source alternative to the .NET libraries. For the most part the same code that is compiled on windows will run on linux (no modifications needed) and vice-versa. There is even a really good C# IDE for linux (gnome) called monodevelop (http://www.monodevelop.com).

    Both mono and monodevelop are in the repos, but the monodevelop in the repos is very buggy, and I suggest you install it, and then install the updated deb files from here: (http://packages.debian.org/unstable/devel/monodevelop)

    Congrats on wanting to learn more. The world needs more able programmers.

  3. #3
    Join Date
    Feb 2007
    Location
    Phoenix, AZ
    Beans
    68
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: learning more c++

    thanks for the reply, I'm not familar with C# is that another language different from C/C++?

  4. #4
    Join Date
    Apr 2006
    Location
    Ohio
    Beans
    19
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: learning more c++

    slightly but anything programed in .NET can run in linux with the mono package.

  5. #5
    Join Date
    Jan 2007
    Location
    Baltimore, MD
    Beans
    841
    Distro
    Ubuntu

    Re: learning more c++

    Quote Originally Posted by DrPppr242 View Post
    thanks for the reply, I'm not familar with C# is that another language different from C/C++?
    C# is a language Microsoft invented to compete with Sun's Java. It's been said that its about 70% the same as java. some of it is taken from C++ ideas as well.

  6. #6
    Join Date
    Mar 2005
    Location
    Dunedin, NZ
    Beans
    559
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    Re: learning more c++

    Don't use C++ to program in .NET. C++/CLI is an abomination (sorry Herb).

    To program in C++ on ubuntu you need to install the build-essential package, then use g++ as the compiler.

    If you are happy to buy books, then I'd suggest the following:
    Scott Meyer's books "Effective C++" and "More Effective C++"
    Nico Josuttis's book on "The C++ standard library"

    I'd avoid Bjarne Stroustrup's "C++ programming language" for a new learner. I didn't actually find it that helpful. Nico's book was better as a reference, and what I couldn't find there I found the actuall C++ standard documentation to be better.

    Once you are through those, get
    "Exceptional C++" by Herb Sutter

    "C++ Coding Standards" by Herb Sutter and Andre Alexandrescu is also a good book as you get more knowledge

    C++ is a great tool, and a really interesting language, but you do need a good understanding of it to be really proficient (which is one of the reasons many students are taught Java).

    Join ACCU (www.accu.org) if you are serious about developing as a professional developer. It really is very good.
    ACCU - for programmers who care

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •