Re: n00bie questions

From: Ioannis Vranos (ivr_at_guesswh.at.grad.com)
Date: 08/25/04


Date: Wed, 25 Aug 2004 14:30:21 +0300

Se'noj wrote:
> Hi everyone. This is my first post to Usenet, AND I started learning
> to program C++ last weekend, so please bear with me. Two questions...
>
> Firstly, whenever I compile programs, my compiler (Bloodshed Dev-CPP)
> tells me that iostream.h is deprecated or antiquated. What exactly
> does that mean, and how do I fix it?

That means that you must get another C++ book. C++ is a standardised
language, and iostream.h was used before the official standard.

The C++ standard iostream header is <iostream> and *not* <iostream.h>.

>
> Second, some online tutorials I've seen use std:: at the start of some
> line, but forget to explain what it means. Could anyone help me out
> with that?

In general, everything in the C++ standard library (except of the
C-subset .h header files) is defined in namespace std.

Regards,

Ioannis Vranos

http://www23.brinkster.com/noicys



Relevant Pages

  • n00bie questions
    ... This is my first post to Usenet, AND I started learning ... so please bear with me. ... Firstly, whenever I compile programs, my compiler ...
    (comp.lang.cpp)
  • Re: n00bie questions
    ... This is my first post to Usenet, AND I started learning ... > Firstly, whenever I compile programs, my compiler (Bloodshed Dev-CPP) ...
    (comp.lang.cpp)
  • Re: n00bie questions
    ... > Firstly, whenever I compile programs, my compiler (Bloodshed Dev-CPP) ... should fix it. ... "C++ Programming Language" - Stroustroup is suggested by one and all. ...
    (comp.lang.cpp)