new C++ standards

This is a discussion on new C++ standards within the C++ Programming forums, part of the General Programming Boards category; where can I learn about the new C++ standards?? I have a book that uses <iostream.h> and <stdlib.h> I think ...

  1. #1
    Registered User
    Join Date
    May 2003
    Posts
    42

    new C++ standards

    where can I learn about the new C++ standards??

    I have a book that uses <iostream.h> and <stdlib.h>
    I think it's outdated

    Teach yourself C++ in 24 hours SECOND IDITION, by Jesse Liberty.

    Is it a big problim for me?
    Do I need to throw the book away and get a new one ?
    I have a code which stops life!

  2. #2
    Cat
    Cat is offline
    Registered User
    Join Date
    May 2003
    Posts
    1,571
    Well, the "new" standards are 5 years old already, and yeah, you're book is outdated, but it should be OK for very basic stuff.

    Some modern compilers won't even compile code that uses <iostream.h> -- VC .NET 2003 doesn't even include the old headers or libraries.

    Once you learn the basics of how C++ works, you can learn the STL, but you should learn arrays, pointers, loops, classes, objects, polymorphism, etc. before you tackle it.

    You can replace all instances of <iostream.h> with <iostream>, all instances of <stdlib.h> with <cstdlib>, and include the line using namespace std; in your programs, and they should compile. Once you know the basics of C++, you can move onto STL, namespaces, and the 1998 standard.

  3. #3
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    Is it a big problim for me?
    Do I need to throw the book away and get a new one ?
    Well not really a tough decision considerring there is much better available for free on the web. Do a google for Bruce eckels site and download his 2 volume work thinking in c++. If you want to spend a few pounds also then consider Accelerated c++ by koenig and moo. Also look at the recommended books at ACCU.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  4. #4
    Registered User
    Join Date
    May 2003
    Posts
    42

    heh

    pounds huh ?

    Well, we call them Ryials dude, Saudi Arabia

    This is the internet, instead you should've said " Money"
    I have a code which stops life!

  5. #5
    Registered User
    Join Date
    Apr 2003
    Posts
    2,662
    "where can I learn about the new C++ standards??"

    http://www.cplusplus.com/doc/ansi/hfiles.html

    "Teach yourself C++ in 24 hours SECOND IDITION, by Jesse Liberty. Is it a big problim for me? Do I need to throw the book away and get a new one ?"

    Yes, throw it away: Jesse Liberty is an incompetent author. I can recommend "Ivor Horton's Beginning C++".

  6. #6
    Registered User
    Join Date
    May 2003
    Posts
    42

    7stud

    Thanks for the link, all I have to do is just print that page and stick it on my computer table so I can get used to it...

    I thought there's a HUGE difference! but fortunatly, I can still finish the book I have then proceed to

    " More Effective C++ " << you think this is a good book for intermediates ?

    please advice.
    I have a code which stops life!

  7. #7
    Cat
    Cat is offline
    Registered User
    Join Date
    May 2003
    Posts
    1,571
    Meyers is good, but make sure you get a new edition (one published after 1998).

    Meyers' "Effective STL" is also good.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. question - linux - gcc - c standards
    By AMAMH in forum C Programming
    Replies: 12
    Last Post: 12-03-2009, 01:49 AM
  2. C standards question
    By jim mcnamara in forum C Programming
    Replies: 7
    Last Post: 09-14-2007, 02:59 PM
  3. Standards
    By Brain Cell in forum C Programming
    Replies: 23
    Last Post: 07-01-2004, 06:22 AM
  4. Using c++ standards
    By subdene in forum C++ Programming
    Replies: 4
    Last Post: 06-06-2002, 09:15 AM
  5. Keeping up with newest standards
    By Shadow12345 in forum C++ Programming
    Replies: 1
    Last Post: 05-04-2002, 08:06 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21