Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to install

0 views
Skip to first unread message

YD

unread,
Aug 2, 2001, 5:24:34 PM8/2/01
to
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


vidas

unread,
Aug 6, 2001, 9:42:57 AM8/6/01
to
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 <ydz...@iastate.edu> wrote in message news:<3B69C512...@iastate.edu>...

0 new messages