Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Need help with C++ development under linux
New Posts  All Forums:Forum Nav:

Need help with C++ development under linux - Page 2

post #11 of 14
Thread Starter 
Quote:
Originally Posted by deepor View Post

Just wanted to throw in you might want to take a good look at QtCreator. Don't be fooled by that "Qt" in its name. It can do everything, isn't just for Qt C++ stuff. You might like it better than Eclipse. A lot of people are raving about it, going so far as to say they are happier than they were on Microsoft's stuff.

Interesting...that's the first time I hear about something called QtCreator,is it an IDE?
My First
(9 items)
 
My dream
(7 items)
 
 
CPUMotherboardGraphicsGraphics
i7 4960x ASUS Rampage IV Extreme Black Edition GTX 780 ti GTX 780 ti 
GraphicsRAMHard Drive
GTX 780 ti  64 GB corsair dominator Samsung 840 pro 256GB SSD 
  hide details  
Reply
My First
(9 items)
 
My dream
(7 items)
 
 
CPUMotherboardGraphicsGraphics
i7 4960x ASUS Rampage IV Extreme Black Edition GTX 780 ti GTX 780 ti 
GraphicsRAMHard Drive
GTX 780 ti  64 GB corsair dominator Samsung 840 pro 256GB SSD 
  hide details  
Reply
post #12 of 14
Quote:
Originally Posted by ABD EL HAMEED View Post

Interesting...that's the first time I hear about something called QtCreator,is it an IDE?

Yes. http://lmgtfy.com/?q=qtcreator
post #13 of 14
Yes, QtCreator is an IDE. It is pretty nice, and includes a built-in GUI editor. I would recommend it over Eclipse CDT.

Yeah, if you just want to compile some C++ code you wrote, make wouldn't be needed. If you use QtCreator and make a new project it'll be able to compile the code for you.

But if you wanted to compile the code from the terminal though you could to something like the following:

Assuming you have three files: a.cxx, b.cxx, a.h
You could compile it like so: g++ -o myexec a.cxx b.cxx
and run as: ./myexec

There are hundred's of more detailed guides on-line for how to compile C++ code under linux.
BlackMesa
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 Gigabyte XFX RF460 16gb G.Skill 
Hard DriveHard DriveOSMonitor
OCZ Vertex2 Sata II Coorsair Force GS Sata III Debian (testing) Shimian 27" 
KeyboardMouse
Filco w/ blue cherries Who needs a mouse? 
  hide details  
Reply
BlackMesa
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 Gigabyte XFX RF460 16gb G.Skill 
Hard DriveHard DriveOSMonitor
OCZ Vertex2 Sata II Coorsair Force GS Sata III Debian (testing) Shimian 27" 
KeyboardMouse
Filco w/ blue cherries Who needs a mouse? 
  hide details  
Reply
post #14 of 14
Thread Starter 
Quote:
Originally Posted by dangerousHobo View Post

Yes, QtCreator is an IDE. It is pretty nice, and includes a built-in GUI editor. I would recommend it over Eclipse CDT.

Yeah, if you just want to compile some C++ code you wrote, make wouldn't be needed. If you use QtCreator and make a new project it'll be able to compile the code for you.

But if you wanted to compile the code from the terminal though you could to something like the following:

Assuming you have three files: a.cxx, b.cxx, a.h
You could compile it like so: g++ -o myexec a.cxx b.cxx
and run as: ./myexec

Thanks
My First
(9 items)
 
My dream
(7 items)
 
 
CPUMotherboardGraphicsGraphics
i7 4960x ASUS Rampage IV Extreme Black Edition GTX 780 ti GTX 780 ti 
GraphicsRAMHard Drive
GTX 780 ti  64 GB corsair dominator Samsung 840 pro 256GB SSD 
  hide details  
Reply
My First
(9 items)
 
My dream
(7 items)
 
 
CPUMotherboardGraphicsGraphics
i7 4960x ASUS Rampage IV Extreme Black Edition GTX 780 ti GTX 780 ti 
GraphicsRAMHard Drive
GTX 780 ti  64 GB corsair dominator Samsung 840 pro 256GB SSD 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Need help with C++ development under linux