[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian 6.0.3 i386 - g++ hello.cpp - error: iostream.h: No such file or directory



On 12/21/2011 06:26 PM, Bob Proulx wrote:
The problem is that C++ has changed significantly over the
years.  You are operating from obsolete documentation.  The new names
for the header files no longer contain a .h on the end.
Try compiling this program instead.
#include<iostream>
int main ()
{
   std::cout<<  "hello, world!"<<  std::endl;
   return 0;
}

Thanks!


I used C++ 1995~2001 (Borland C++, Borland C++ Builder, embedded cross-compilers, etc., all on Windows). What would be some good books for current C++ on Debian Squeeze?


David


Reply to: