Page 3 of 3 FirstFirst 123
Results 21 to 29 of 29

Thread: C++ Tutorial Chapters 1 & 2

  1. #21
    thank u mate

  2. #22
    Junior Member
    Join Date
    Apr 2003
    Posts
    1

    Cool

    thanx man, great tutorial

  3. #23
    Hey another book that teaches c++ is (we use it in school) c++ primer plus i think its called.

  4. #24
    nice tutorials!!! C++ primer plus is a pretty good one but i personally like "C++ how to program" by deitel & deitel
    http://www.outwar.com/page.php?x=812668

    i brake for flipper babies

  5. #25
    Junior Member
    Join Date
    May 2003
    Posts
    11
    just an observation from a virtually complete beginner, we did a bit of c++ in school, and while we didnt use the 'Sams Teach Yourself C++ in 21 Days', i borrowed a copy from a friend later and found there were errors inthe code (note it may have been the teach yourself C++ in 24 hours guide..it was a while ago).
    and found there were errors in the code, which as someone trying to learn it as a FIRST programming language really wasn't good @ all.

    one quick question

    can someone explain with the <iostream.h>
    when i learned it we were taught as just <iostream> (without .h)
    what's its purpose? (.h)

  6. #26
    Member
    Join Date
    Mar 2002
    Posts
    53
    I believe .h refers to the header files. So if you have multiple classes you do #include <classname.h> I think it's suppose to have the .h at the end, I wouldn't think it would work without it.
    .

  7. #27
    Junior Member
    Join Date
    May 2003
    Posts
    11
    nope was definately working without
    could it perhaps have been due to the simplicity of the programs?
    anyone?

  8. #28
    Junior Member
    Join Date
    May 2003
    Posts
    1
    Very helpful..thanks.

  9. #29
    AO Antique pwaring's Avatar
    Join Date
    Aug 2001
    Posts
    1,409
    Excellent tutorial, my only (minor) criticism is that when you are using the standard libraries you should write std::cout, std::cin etc. rather than just leaving the std:: part off or using "using namespace std". It's good practice, but hardly anyone seems to use it for some reason.

    Apart from that pedantic point, well done.

    BTW, your link to jethrojones.hyperlinx.cz just sends me to the hyperlinx.cz homepage.
    Paul Waring - Web site design and development.

Posting Permissions

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