Results 1 to 14 of 14
  1. #1
    Join Date
    Dec 2000
    Location
    Leesburg, VA
    Posts
    3,205

    C/C++ Suggestions

    I have always been a network/hardware guy and avoided programming like the plague (aside from basic Perl/shell scripting -- which every administrator needs).

    I want to expand my programming horizons and learn C/C++ can you all recommend any resources, especially books/programs that would be helpful in picking up the languages. I am interested in learning to program on both Windows and *nix boxes so resources for both would be appreciated.

  2. #2
    Join Date
    Aug 2002
    Location
    USA, Madison, Wisconsin
    Posts
    27
    Professional web developer

    http://www.garbuz.com
    ICQ#91787259

  3. #3
    Join Date
    Dec 2001
    Location
    Detroit, MI
    Posts
    1,067
    Here are a few C++ books every C++ programmer should have:

    The C++ Programming Language, Bjarne Stroustrupp
    The C++ Standard Library: A Tutorial and Reference, Nicolai M. Josuttis
    Effective C++, Scott Meyers
    Effective STL, Scott Meyers

    Also, there is a series of articles called "Conversations" written by Herb Sutter and Jim Hyslop published monthly online at www.cuj.com (http://www.cuj.com/experts/?topic=experts to be specific). It's geared more towards expert C++ programmers, but it is so well written that I think it'd be pretty easy to follow even for the novice. If not, the lessons that are tought are worth having in your mind.

    Something you should absolutely keep in focus is The Standard Template Library (STL) or just The Standard C++ Library as it is now called.
    <!-- boo! -->

  4. #4
    Join Date
    Sep 2002
    Location
    Dallas, TX
    Posts
    205
    justin 'at' abrogo.com
    http://www.abrogo.com
    Shared Unix Hosting

  5. #5
    Join Date
    Jan 2002
    Location
    Kuwait
    Posts
    679
    "The C Programming Language", by the original designers of the language: Kernighan & Ritchie.

    Then you can move on to C++ by reading: Thinking in C++, a very fine book written by Bruce Eckel, available online at his website:

    http://www.mindview.net/Books/TICPP/...ngInCPP2e.html
    Ahmad Alhashemi
    PHP, Apache, C, Python, Perl, SQL
    18 related BrainBench certificates

  6. #6
    Join Date
    Jan 2002
    Location
    Kuwait
    Posts
    679
    There is also Teach Yourself C++ in 21 Days by Liberty, who I like his style very much.
    Ahmad Alhashemi
    PHP, Apache, C, Python, Perl, SQL
    18 related BrainBench certificates

  7. #7
    Join Date
    May 2001
    Posts
    1,513
    cin
    I hope you can afford a C++ compiler.
    cout

  8. #8
    Join Date
    Dec 2001
    Location
    Detroit, MI
    Posts
    1,067
    std::cout << "gcc is free" << std::endl;
    <!-- boo! -->

  9. #9
    Learn C first. Spend two or three years thinking about things like memory allocation, performance, etc in C before you get anywhere near C++ and "object-oriented" programming.

    It's easy to learn OOP later once you have a good grounding in the basics; but I have yet to meet anyone who started with OOP and picked up the basics later on.
    Dr. Colin Percival, FreeBSD Security Officer
    Online backups for the truly paranoid: http://www.tarsnap.com/

  10. #10
    Join Date
    Mar 2002
    Posts
    1,003
    bloodshed.net

    free windows compilers.

  11. #11
    Join Date
    Oct 2002
    Location
    Hershey, PA
    Posts
    287
    Learn C# and skip c/C++. C# is an easy language to learn and it has the raw power of C++ and mimics C++. It has good memory managment not to mention it blows java and C++ out of the water. Whats that you are thinking? You cant afford the 1600.00 visual tool. Just go download sharp develop from http://www.icsharpcode.net/OpenSource/SD/default.asp. If you do not want to just leap ahead into the .net world , then I finally suggest learning c++ over c. C is confusing to get at first contrary to c++ which is really easy to get but hard to get good at.

    -Eric Ramseur CTO CDX Solutions
    IQ Studio
    www.IQStudio.net
    [email protected]
    Create.Design.Innovate

  12. #12
    Join Date
    Dec 2001
    Location
    Detroit, MI
    Posts
    1,067
    C++ is a superset of C, so to fully know C++ you must know C.

    C# lacks templates and uses the same idiom that Java does for generic programming (a single base object for everyone). C# has its uses, but it lacks severely in the power that C++ provides. Templates are one of the greatest inventions in recent history for generic programming.
    Last edited by ScottD; 10-10-2002 at 05:54 PM.
    <!-- boo! -->

  13. #13
    Join Date
    Jul 2001
    Location
    Wrapped in CAT5.
    Posts
    217

    Lightbulb Good site

    Dan Esparza
    CagedTornado web services

  14. #14
    Join Date
    Dec 2000
    Location
    Leesburg, VA
    Posts
    3,205
    Guys, thanks for all of the great tips. I think I am going Ahmad and Phil's advice and start with C (though not for 3 years, I don't want to be a programmer, I just want to understand the basics ), then move onto C++ -- thank you all for the great titles..I am going to head on over to Amazon and see what I can pick up.

Posting Permissions

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