From: moonhkt on
Hi All

Do you know why #include file <iostream.h> not found. ?

No cpp environment setup for my profile now.

AIX 5.3

ls -tl cpp*
lrwxrwxrwx 1 bin bin 16 Aug 03 2009 cpp -> /usr/
ccs/lib/cpp

/usr/ccs/lib] ls -tl cpp
-r-xr-xr-x 1 bin bin 900732 Jun 08 2007 cpp
[shkdev2:/usr/ccs/lib]



cat a02.cpp
#include <iostream.h>
int main( int argc, const char* argv[] )
{
}

compile
cpp a02.cpp
"a02.cpp", line 2.10: 1506-296 (S) #include file <iostream.h> not
found.
#line 3 "a02.cpp"
int main( int argc, const char* argv[] )
{
}
From: Ian Collins on
On 03/10/10 07:50 PM, moonhkt wrote:
> Hi All
>
> Do you know why #include file<iostream.h> not found. ?

Possibly because it is an obsolete header. No recent code should be
using it.

--
Ian Collins
From: moonhkt on
On 3月10日, 下午2時55分, Ian Collins <ian-n...(a)hotmail.com> wrote:
> On 03/10/10 07:50 PM, moonhkt wrote:
>
> > Hi All
>
> > Do you know why #include file<iostream.h>  not found. ?
>
> Possibly because it is an obsolete header.  No recent code should be
> using it.
>
> --
> Ian Collins

So, Do you know what is replacement for iostream.h ?
From: Ike Naar on
In article <aedda404-2ef8-4e07-9afa-0b2547e34353(a)c34g2000pri.googlegroups.com>,
moonhkt <moonhkt(a)gmail.com> wrote:
>On 3月10日, 下午2時55分, Ian Collins <ian-n...(a)hotmail.com> wrote:
>> On 03/10/10 07:50 PM, moonhkt wrote:
>>
>> > Hi All
>>
>> > Do you know why #include file<iostream.h>  not found. ?
>>
>> Possibly because it is an obsolete header.  No recent code should be
>> using it.
>>
>> --
>> Ian Collins
>
>So, Do you know what is replacement for iostream.h ?

Have a look at the C++ FAQ. Your question is answered in

http://www.parashift.com/c++-faq-lite/coding-standards.html#faq-27.4
From: moonhkt on
On 3月10日, 下午5時36分, i...(a)localhost.claranet.nl (Ike Naar) wrote:
> In article <aedda404-2ef8-4e07-9afa-0b2547e34...(a)c34g2000pri.googlegroups..com>,
>
> moonhkt  <moon...(a)gmail.com> wrote:
> >On 3月10日, 下午2時55分, Ian Collins <ian-n...(a)hotmail.com> wrote:
> >> On 03/10/10 07:50 PM, moonhkt wrote:
>
> >> > Hi All
>
> >> > Do you know why #include file<iostream.h>  not found. ?
>
> >> Possibly because it is an obsolete header.  No recent code should be
> >> using it.
>
> >> --
> >> Ian Collins
>
> >So, Do you know what is replacement for iostream.h ?
>
> Have a look at the C++ FAQ.  Your question is answered in
>
>  http://www.parashift.com/c++-faq-lite/coding-standards.html#faq-27.4

Try on our machine , Still have error.

cpp a02.cpp
"a02.cpp", line 2.10: 1506-296 (S) #include file <iostream> not found.
#line 3 "a02.cpp"
int main( int argc, const char* argv[] )
{
}

cat a02.cpp
/* cpp a02.cpp -o a02 */
#include <iostream>
int main( int argc, const char* argv[] )
{
}


[shkdev2:/home/ericl6/shell]