Hello There, Guest! Register

C++ Compilers/IDEs
Vlambo
BRB, Posting
*

Posts: 1,175
Joined: Nov 2008
#1
05-02-2011, 05:35 PM

So as a summer project, I'm gonna teach myself C++. I'm currently looking for a Compiler or IDE for Linux and Windows.

Also, if anyone knows this, Does C++ have a library that I simply install on Linux, and when I want to compile, I run a command through command prompt. An example is that when I code on Linux in Java, I simply type "javac File.java" to compile it, then "java File" to run it. I would like to know if there is a similar option for this on Linux with C++
Reply
Greatbacon
The Most Delicious of All Meats


Posts: 1,980
Joined: Mar 2008
#2
05-02-2011, 05:41 PM

In my CS department we use the G++ compiler.  I couldn't tell you how to set it up, but I know that to compile all you run is g++ "files" in the terminal.  There's also an option to set the name of the resulting executible.  The default name is just a.out
Reply
HeK
Rotartsinimda
*******

Posts: 4,183
Joined: Jun 2015
#3
05-02-2011, 07:32 PM

gcc and vi.
Reply
Vlambo
BRB, Posting
*

Posts: 1,175
Joined: Nov 2008
#4
05-02-2011, 08:41 PM

Further research shows me that gcc is preinstalled on Linux, just a matter of learning the commands now.
Reply
Kirby
Uninstalling
***

Posts: 3,853
Joined: Jun 2009
#5
05-03-2011, 03:19 PM

(05-02-2011, 07:32 PM)HeK link Wrote: gcc and vi nano.



ftfy


[Image: fastdlusage.png]


[Image: b_350_20_5A6C3E_383F2D_D2E1B5_2E3226.png]
[Image: b_350_20_FFAD41_E98100_000000_591F11.png]
[Image: b_350_20_692108_381007_FFFFFF_000000.png]

[Image: b_350_20_323957_202743_F19A15_111111.png]

[Image: amd.jpg]
[Image: radeon.jpg]
[Image: win7.jpg]
[Image: ubuntu.jpg]
[Image: xp.jpg]
[Image: chrome.jpg]
[Image: pyro.jpg]
Reply
CaffeinePowered
Mad Hatter
*******

Posts: 12,998
Joined: Mar 2008
#6
05-03-2011, 03:50 PM

For windows - Visual Studio


[Image: caffsighl7.jpg]Â[Image: 1184299259221.gif]
Sig by Joel
Reply
Eschatos
Jack Thompson Fan Club Member


Posts: 4,447
Joined: Mar 2008
#7
05-03-2011, 05:57 PM

(05-03-2011, 03:50 PM)Caffeine link Wrote: For windows - Codeblocks



Reply
HeK
Rotartsinimda
*******

Posts: 4,183
Joined: Jun 2015
#8
05-03-2011, 09:42 PM

(05-03-2011, 03:19 PM)Kirby, the Spyro link Wrote: [quote author=HeK link=topic=5606.msg205090#msg205090 date=1304382763]
gcc and vi nano.



ftfy
[/quote]

Might as well just change it to notepad while you're at it.
Reply
Negate
Born the same day as Linux... poor guy..


Posts: 766
Joined: Apr 2008
#9
05-04-2011, 08:43 AM

(05-03-2011, 09:42 PM)HeK link Wrote: [quote author=Kirby, the Spyro link=topic=5606.msg205179#msg205179 date=1304453986]
[quote author=HeK link=topic=5606.msg205090#msg205090 date=1304382763]
gcc and vi nano.



ftfy
[/quote]

Might as well just change it to notepad while you're at it.
[/quote]



Your in the minority, its supposed to taste like a shit taco
Jon Stewart
[move]ii@.[/move]
Reply
Kirby
Uninstalling
***

Posts: 3,853
Joined: Jun 2009
#10
05-04-2011, 09:02 AM

Real men don't fancy!


[Image: fastdlusage.png]


[Image: b_350_20_5A6C3E_383F2D_D2E1B5_2E3226.png]
[Image: b_350_20_FFAD41_E98100_000000_591F11.png]
[Image: b_350_20_692108_381007_FFFFFF_000000.png]

[Image: b_350_20_323957_202743_F19A15_111111.png]

[Image: amd.jpg]
[Image: radeon.jpg]
[Image: win7.jpg]
[Image: ubuntu.jpg]
[Image: xp.jpg]
[Image: chrome.jpg]
[Image: pyro.jpg]
Reply
HeK
Rotartsinimda
*******

Posts: 4,183
Joined: Jun 2015
#11
05-04-2011, 09:19 AM

(05-04-2011, 09:02 AM)Kirby, the Spyro link Wrote: Real men don't fancy!

(05-03-2011, 03:19 PM)Kirby, the Spyro link Wrote: [quote author=HeK link=topic=5606.msg205090#msg205090 date=1304382763]
gcc and vi nano.

ftfy
[/quote]

wat
Reply
Vandamguy
Guest

 
#12
05-04-2011, 04:48 PM

[Image: v46111_nerd-fight_thumb.jpg] Big Grin
Reply
Kirby
Uninstalling
***

Posts: 3,853
Joined: Jun 2009
#13
05-06-2011, 01:30 PM

(05-04-2011, 09:19 AM)HeK link Wrote: [quote author=Kirby, the Spyro link=topic=5606.msg205262#msg205262 date=1304517746]
Real men don't fancy!

(05-03-2011, 03:19 PM)Kirby, the Spyro link Wrote: [quote author=HeK link=topic=5606.msg205090#msg205090 date=1304382763]
gcc and vi nano.

ftfy
[/quote]

wat
[/quote]


fancy = vi

simple = nano


<sigh>



[Image: fastdlusage.png]


[Image: b_350_20_5A6C3E_383F2D_D2E1B5_2E3226.png]
[Image: b_350_20_FFAD41_E98100_000000_591F11.png]
[Image: b_350_20_692108_381007_FFFFFF_000000.png]

[Image: b_350_20_323957_202743_F19A15_111111.png]

[Image: amd.jpg]
[Image: radeon.jpg]
[Image: win7.jpg]
[Image: ubuntu.jpg]
[Image: xp.jpg]
[Image: chrome.jpg]
[Image: pyro.jpg]
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)