| | |
Compiling and running an entire poject from command line/terminal on Linux
![]() |
•
•
Join Date: Oct 2006
Posts: 174
Reputation:
Solved Threads: 0
Hi,
I am Fedora Core 5 32+ bit os. I am a self taught guy and currently trying to get my head around the basics of C++ programming. I am at the moment using the command prompt only, to compile and run the small programs written in C++. Just a while ago I came across this site and something caught my attention, that was nothing else but some really basic interfaces consisting of menus, buttons etc written in C++. So I downloaded some of the code which was in zip format and unzipped the whole thing in a folder. Here is the web page.
http://www.codeguru.com/cpp/controls/menu/
I have attached the screen shot/image (it is from my other machine which has Win xp just to show people here) to this post showing just how many different types of files the unzipped package/source code contains. I am still not used to any particular IDEs on Linux in order to be able to put all these files in one big project. So I was wondering if I keep them all in one folder as they are at the moment on my Linux machine and compile + run them from the command line/terminal itself without using any particular IDEs that work with Linux for example the Eclipse one. Thanks .....
I am Fedora Core 5 32+ bit os. I am a self taught guy and currently trying to get my head around the basics of C++ programming. I am at the moment using the command prompt only, to compile and run the small programs written in C++. Just a while ago I came across this site and something caught my attention, that was nothing else but some really basic interfaces consisting of menus, buttons etc written in C++. So I downloaded some of the code which was in zip format and unzipped the whole thing in a folder. Here is the web page.
http://www.codeguru.com/cpp/controls/menu/
I have attached the screen shot/image (it is from my other machine which has Win xp just to show people here) to this post showing just how many different types of files the unzipped package/source code contains. I am still not used to any particular IDEs on Linux in order to be able to put all these files in one big project. So I was wondering if I keep them all in one folder as they are at the moment on my Linux machine and compile + run them from the command line/terminal itself without using any particular IDEs that work with Linux for example the Eclipse one. Thanks .....
What you seem to have downloaded, are headers for using menus in a program. To actually use these as a program, you would need to write a program that makes use of, and creates instances of, these headers and classes.
Then you need to compile and link it, using
Then you need to compile and link it, using
g++. Angel-headed hipsters burning for the ancient heavenly connection, to the starry dynamo in the machinery of the night.
-Ginsburg
Don't tell me to "google it" - I already have.
-Ginsburg
Don't tell me to "google it" - I already have.
![]() |
Similar Threads
- compiling from command line (Java)
- command line arguments problem. (Shell Scripting)
- c programming from linux command line (C)
- command line (OS X)
Other Threads in the IT Professionals' Lounge Forum
- Previous Thread: Deleting files of a particular extension
- Next Thread: some help
| Thread Tools | Search this Thread |
1gbit advertising advice amazon answers archive british broadband business businessprocesses career carrier censorship cern china cio collectiveintelligence connectivity consumer consumers corporateearnings datatransfer debtcollectors dictionary digg digital ebay ecommerce email employment environment facebook food government grid high-definition hottub infodelivery infotech intel internet interview ipod isp japan kindle lhc library malware marketing mit moonfruit news onlineshopping piracy piratebay pope porn program questions r&d religion remoteworking research retail security sex shopping simple skype smallbusiness smb sms socialmedia socialnetworking software softwareengineer spam speed spending startrek statistics stocks study stumbleupon survey tabletpc technology touch-screen touchscreen twitter uk videoinprint voips web webdeveloper windows words






