Welcome, Guest. Please login or register.

Author Topic: C++ What do I need?  (Read 1668 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline GPTTopic starter

  • Sr. Member
  • ****
  • Join Date: Jul 2002
  • Posts: 380
    • Show only replies by GPT
C++ What do I need?
« on: April 04, 2003, 12:13:26 PM »
I whana learn C++ an whana be able to compile it whit my amiga.

What do I need?

I have downloaded GoldED free version, can I use that to compile C++ codes?
Is it possible to use the "run" button in GoldEDs free version to test programs or do I need the full version to do that?

If I buy C++ compiler for my amiga, can I use that with AONE or do I need to buy a new one that is complatible?
NWO tba 2012
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: C++ What do I need?
« Reply #1 on: April 04, 2003, 12:23:08 PM »
GoldED is basically your text editing engine. You need a compiler to do the compilation work.

You could get hold of gcc. It's free and is the best C/C++ free compiler for amiga.

For C, there's also VBCC, again free, which supports some of the ISO 1999 standard. I used it for some PPC coding and its pretty good.

As for A1 compatibility, AFAIK, gcc is being used for development and is probably the way to go.

OTOH, if you want just to learn the language (and not get bogged down with CLI compilers), you could just get the 2.1 dev CD. It comes with free StormC v3. I bitch about it all the time (its not a good C++ compiler) but it has a very comfortable user interface. Not much use for your A1 though :-(
int p; // A
 

Offline GPTTopic starter

  • Sr. Member
  • ****
  • Join Date: Jul 2002
  • Posts: 380
    • Show only replies by GPT
Re: C++ What do I need?
« Reply #2 on: April 04, 2003, 12:30:10 PM »
Can I use gcc with GoldED free version?

Is there a iostream.h header for c++ amiga compiler?

OR do amiga use something else?
NWO tba 2012
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: C++ What do I need?
« Reply #3 on: April 04, 2003, 12:50:59 PM »
Quote

GPT wrote:
Can I use gcc with GoldED free version?

Is there a iostream.h header for c++ amiga compiler?

OR do amiga use something else?


Not sure about the free GoldED question.

StormC v3 comes with the ANSI v2 iostream library, giving you iostream.h, fstream.h, iomanip.h but not much else.

gcc comes with the lot and full STL is available too.
int p; // A
 

Offline GPTTopic starter

  • Sr. Member
  • ****
  • Join Date: Jul 2002
  • Posts: 380
    • Show only replies by GPT
Re: C++ What do I need?
« Reply #4 on: April 04, 2003, 01:01:51 PM »
Do you mean iostl by STL?

And with is that?

The GoldED free version ask me to select a file when I have pressed the "run" button in GoldED when I have a C++ program in the GoldED editor.

I wana avoid buying C++ stuff if it's possible.
NWO tba 2012
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: C++ What do I need?
« Reply #5 on: April 04, 2003, 01:17:49 PM »
STL : standard template library

This is a collection of classes, containers, algorithms and other components, implemented in template form (ie can be used with your own classes) that give you a powerful toolkit for quickly developing stuff.

Some love it, some hate it. It depends on the quality of an implemetation. It tends to frighten the beginner unused to templates and the like.

I don't make a great deal of use of it myself, however.
int p; // A
 

Offline Highflyer

  • Newbie
  • *
  • Join Date: Mar 2002
  • Posts: 14
    • Show only replies by Highflyer
Re: C++ What do I need?
« Reply #6 on: April 04, 2003, 01:53:51 PM »
Quote

GPT wrote:
Do you mean iostl by STL?

And with is that?

The GoldED free version ask me to select a file when I have pressed the "run" button in GoldED when I have a C++ program in the GoldED editor.

I wana avoid buying C++ stuff if it's possible.


you can't run something which hasn't been compiled first.
I know the "free" version of golded is made to use stormc
as a compiler, I don't think it would work with gcc.
The free golded is just a text editor.

You can do a lot of things with free stuff like gcc but you
need to know how to install and use it (which might be too
complicated if you're not used to it).