Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> G++ Instal Problems, g++ cant find basic STLs like iostream
bfrezza
post Jun 30 2003, 03:59 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 30-June 03
Member No.: 1,029



Im using redhat 8.0 and have not installed the dev. packages (lost my CD's) but need to get g++ to work.

Here's the problem.
I installed g++-2.95 from an RPM and then later installed libstc++-devel-3.2-7
and now when i try to compile the basic hello world program:

#include <iostream>

using std::cout;
using std::endl;

int main()
{
cout << "Hello World!" << endl;
return 0;
}

g++ complains: "iostream: No such file or directory."

What am I doing wrong? Do I need to re-install g++ and if so, how do i do that?

Thanks,
-Brian
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th October 2017 - 04:23 AM