Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: vidasm@yahoo.com (vidas)
Subject: Re: how to install
Date: 6 Aug 2001 06:42:57 -0700	[thread overview]
Message-ID: <cdbd2dd.0108060542.9cd9c13@posting.google.com> (raw)
In-Reply-To: 3B69C512.9C9D2A2@iastate.edu

Hi there,

Could someone advice me a little bit... I have OSF1 V4.0 alpha. I am
trying to test c++ compiler with the simple code:

#include <stdlib.h>
#undef __USE_STD_IOSTREAM
#include <iostream.h>
#define __USE_STD_IOSTREAM
#include <iostream>

int main()
{
    std::string s("abc");
    ::cout << "abc" << endl;        
    std::cout << "abc" << std::endl; 
    return EXIT_SUCCESS;
}        

However I get :

Cannot find file <iostream.h> specified in #include directive.
(noinclfile)
#include <iostream.h>.

How can I check I have the right versions in my machine?

thanks,
vidas



YD <ydzhang@iastate.edu> wrote in message news:<3B69C512.9C9D2A2@iastate.edu>...
> Hi,
> could some one advise me how to install  C++ iostream libraries? I am
> runing g++ compiler ( gcc version 2.8.1) UNIX (OSF1 V4.0 878 alpha)?
> 
> Thanks,
> 
> Yuandan


      reply	other threads:[~2001-08-06 13:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-02 21:24 how to install YD
2001-08-06 13:42 ` vidas [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox