Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 07-07-2001, 07:10 AM   #1
LQ Newbie
Registered: Jul 2001
Location: scotland
Distribution: mandrake 7.1
Posts: 4

Rep: Reputation: 0
Angry c++

I'm new to linux,c++ and computers generally.?
I can't get my "Hello World!"compiled. I run "gcc /home/iain/Hello.cpp. and get "iostream.h no such file...
...I found doc's that said "save as "$LFS/root/Hello.c" but with "iostdl.h" -(this may be wrong I can't remember off hand) -instead of "iostream.h" & then " gcc Hello.c -o hello" and it worked.
I then did what they said for "iostream" but they used g++
"no such command" I get back.So I try with gcc and "iostream.h no such file....! ? Linux was installed from disk linux-mandrake7.1
before I assume it's configured wrong(god help me)can any-one
point me in some direction or other .I've done the usuall check of the spelling. I'm using c++ in 24 hrs as tutorial.
Sorry for the spiel. Any feedback would be appretiated


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:11 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration