Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Ok, I have written several small c++ programs in Windows, and compiled them to .exe files. Now then, I made the big switch to linux! (redhat 9) I am using the Qt Designer and it looks very much like Visual C++. I have input code in the API, but I cant find a "compile" button. I got to thinking that maybe you don't compile code in the API because there is no .eve files in linux. So I guess the question is, How do you "pack" the code to run in linux? Maybe I save it as the .cpp file and can compile from terminal? If anyone has any ideas or help please reply, Thanks!
Try using a more simplistic IDE. Anjuta is good.
Qt Designer is more for building GUI programs.
There are executables in linux but they don't
depend on extensions like '.exe' or '.bat' or '.com'
they are marked with an attribute that says they
are executable
try running this from a console:
cd /usr/bin
ls -l
those funny strings that look like -rwxr-xr-x
tell you what "permissions" the file has set
will work just fine outputting a program
but most people prefer working in an IDE
Makefiles are great for larger programs,
but most simple programs don't need one
Thanks Both of you!, I have ground to grow on now. The attributes you are talking about I have never heard about, but I see them now, and Its making more sence. And Thanks for the links uteck. Good reading. Thanks for your time!
Ok, If anyone else is wondering this, KDevelop is The best way to go for a newbie, It is almost exacly like Visual C++ by that crazy microsoft company that likes to charge way to much for there programs. It has a compile and build menu, and is good to start with, I have compiled my .cpp's with it and all is going good. I could not have done it without your help though, Thank God for this Forum!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.