Page 1 of 1 [ 13 posts ] 

Claire_Louise
Blue Jay
Blue Jay

User avatar

Joined: 30 Aug 2010
Age: 28
Gender: Female
Posts: 99
Location: Auckland, New Zealand

03 Sep 2010, 5:01 am

Hi, can use C++, got compiler, but can't find actual program to write on...
Help, anyone?



soulecho
Blue Jay
Blue Jay

User avatar

Joined: 27 Jul 2010
Age: 47
Gender: Female
Posts: 78
Location: Niagara Falls

03 Sep 2010, 7:45 am

Claire_Louise wrote:
Hi, can use C++, got compiler, but can't find actual program to write on...
Help, anyone?


I don't understand the question. What do you mean exactly?



jec6613
Snowy Owl
Snowy Owl

User avatar

Joined: 19 Aug 2010
Age: 41
Gender: Male
Posts: 126

03 Sep 2010, 9:53 am

Any standard text editor will allow you to write and edit C++. Personally I use either vi on a UNIX/Linux machine or Visual Studio if I'm on Windows.



Ichinin
Veteran
Veteran

User avatar

Joined: 3 Apr 2009
Gender: Male
Posts: 3,653
Location: A cold place with lots of blondes.

03 Sep 2010, 10:03 am

1. Go here: http://www.eclipse.org/downloads/
2. Select platform and version in the drop down box (Default is Windows, but Linux and MacOS is also supported, 32/64 bit versions for all three)
3. ?
4. Profit!


_________________
"It is far better to grasp the Universe as it really is than to persist in delusion, however satisfying and reassuring" (Carl Sagan)


iniudan
Sea Gull
Sea Gull

User avatar

Joined: 4 Aug 2009
Age: 39
Gender: Male
Posts: 231

03 Sep 2010, 10:23 am

You can write your C++ in a simple notepad file, through I admit it it is very far from been optimal for reading back the code if you don't have a well organized writing.

But I admit didn't have to use that much when I was still studying for had found a Professional Borland C++ builder for like 20 buck on one of the back shelves of the school cooperative store, for some reason everyone I was studying with wanted a copy for home. =p


Through I cannot help much didn't code anything in like 8 years, which is when I had to leave studies due to depression. Should try to get back to it I admit.



Jookia
Velociraptor
Velociraptor

User avatar

Joined: 7 Jan 2007
Age: 28
Gender: Male
Posts: 410

03 Sep 2010, 3:06 pm

I suggest CodeBlocks as it uses the GCC complier.



Jono
Veteran
Veteran

User avatar

Joined: 10 Jul 2008
Age: 43
Gender: Male
Posts: 5,606
Location: Johannesburg, South Africa

03 Sep 2010, 4:18 pm

Claire_Louise wrote:
Hi, can use C++, got compiler, but can't find actual program to write on...
Help, anyone?


You can use any text editor to write C++ code in. However, if you're looking for something with syntax highlighting etc., I would reccommend Notepad++ if you're using Windows. Just google it, it can be downloaded for free. In Linux, I find that gedit is sufficient, which is normally already installed on the OS.



StuartN
Veteran
Veteran

User avatar

Joined: 20 Jan 2010
Age: 60
Gender: Male
Posts: 1,569

03 Sep 2010, 4:29 pm

Jono wrote:
In Linux, I find that gedit is sufficient, which is normally already installed on the OS.


I like Geany with the code-folding, syntax highlighting and namespace browser. It also has direct compile and run buttons that do the necessary in a terminal window, with browsable error messages.



Jono
Veteran
Veteran

User avatar

Joined: 10 Jul 2008
Age: 43
Gender: Male
Posts: 5,606
Location: Johannesburg, South Africa

03 Sep 2010, 4:45 pm

StuartN wrote:
Jono wrote:
In Linux, I find that gedit is sufficient, which is normally already installed on the OS.


I like Geany with the code-folding, syntax highlighting and namespace browser. It also has direct compile and run buttons that do the necessary in a terminal window, with browsable error messages.


I haven't heard of Geany. I thought Emacs (with the graphical front-end) could also do the direct compiling though but I haven't used it for that purpose.



peterd
Veteran
Veteran

User avatar

Joined: 25 Dec 2006
Age: 71
Gender: Male
Posts: 1,347

04 Sep 2010, 12:46 am

Go with Eclipse, like Ichinin says.

Pick this one though http://eclipse.org/downloads/packages/e ... rs/heliosr

Have fun

By then you'll have a Java, and you can add jEditjEdit for lightweight editing.



Claire_Louise
Blue Jay
Blue Jay

User avatar

Joined: 30 Aug 2010
Age: 28
Gender: Female
Posts: 99
Location: Auckland, New Zealand

04 Sep 2010, 4:15 pm

Ohhhh... right
Thanks a lot
Sorry, I'm only an amateur programmer :)



Jono
Veteran
Veteran

User avatar

Joined: 10 Jul 2008
Age: 43
Gender: Male
Posts: 5,606
Location: Johannesburg, South Africa

04 Sep 2010, 4:42 pm

Claire_Louise wrote:
Ohhhh... right
Thanks a lot
Sorry, I'm only an amateur programmer :)


Glad we could help.



LordoftheMonkeys
Veteran
Veteran

User avatar

Joined: 15 Aug 2009
Age: 34
Gender: Male
Posts: 927
Location: A deep,dark hole in the ground

05 Sep 2010, 7:02 pm

You can use a text editor to write the code, or you can use an IDE:

Some free text editors:
For Windows, Notepad++
For Mac, Dashcode
For Linux: gedit, Kate
Cross-platform: GVim, GNU Emacs

Some free IDEs:
For Mac, XCode
For Linux, KDevelop, Qt
Cross-platform: jGrasp

There aren't a lot of free IDEs that work well on Windows. Most of them are written for Unix-based OSs, though jGrasp would be a good choice for Windows programming because it's cross-platform.


_________________
I don't want a good life. I want an interesting one.