Re: iostream error.
- From: "Neroku" <n370ku@xxxxxxxxx>
- Date: 3 May 2006 22:40:25 -0700
Prasad ha escrito:
Hi All,
I am executing simple hello world program. But, getting compile time
errors.
What is the problem here?
prasad@D-T11673A:~/programs/c> cat bst.cpp
#include<iostream>
It should be #include <iostream.h>, that's why your compiler doesn't
find the iostream header.
using namespace std;
int main ()
{
cout << "Hello World." ;
return 0 ;
}
All this belongs to C++ and not Standard C, bear in mind that we only
discuss the Standard C so this is off-topic here. Asking to
comp.lang.c++ would be more suitable.
.
- Follow-Ups:
- Re: iostream error.
- From: Martin Ambuhl
- Re: iostream error.
- From: Ian Collins
- Re: iostream error.
- References:
- iostream error.
- From: Prasad
- iostream error.
- Prev by Date: iostream error.
- Next by Date: Re: iostream error.
- Previous by thread: iostream error.
- Next by thread: Re: iostream error.
- Index(es):
Relevant Pages
|