ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Call me cheap, but I want a free compiler. I'm interested in learning C++ (read: HUGE NEWBIE). I tried setting up KDevelop, as I understand that is a compiler, but I can't seem to start a "new" file, and my attempts at getting help on the subject have been in vain. So, I'm hoping to find a Linux-friendly C++ compiler that costs less than $0.01. Thanks.
Originally posted by master why is it when i type g++ at a terminal i get an error message
g++: no input files
any help does this mean i dont have a compiler built in
Because g++ is a command line compiler, and it needs something to compile first. The fact that it didn't say "g++: command not found" is a good indication that it's there and working. To compile something with it, you either create a makefile, or type the file(s) to compile by hand.
For example: "g++ mysource.cc -o myprogram"
I also second Dev-C++ for on Windows, it uses mingw which is a Windows port of GCC.
Dev-C++ was going to have a port using Kylix as it's written in Delphi for Windows. However they say that Kylix wasn't as good as they hoped so their not doing it now, which is a shame because I really like it. It's a nice simple IDE that doesn't automatically make dozens of files that a newbie has no idea of their purpose. Plus I find the big IDEs too intimidating.
What I do is use a standard text editor and write my own makefile (at least for small projects ) which I think is a good way to learn how things are compiled.