ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
Click here to see the post LQ members have rated as the most helpful post in this thread.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.