1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Doubt regarding C++ code in old textbooks

Discussion in 'C++' started by thefeedinghand, Aug 31, 2010.

  1. thefeedinghand

    thefeedinghand New Member

    Aug 31, 2010
    Likes Received:
    Trophy Points:
    I have this Practical C++ Programming book, and i think its from 1997, and there's a few code changes that won't compile in most compilers:

    First of all, the headers still have the .h extension like #include

    Namespaces are nonexistent as well as the C++ strings (I'm guessing these were added recently?) so cout and cin are usesd without the std::

    Other minor details too..

    BTW I find the C++ file I/O system very confusing compared to the simple C one..

Share This Page