Welcome, Guest. Please login or register.

Author Topic: C/C++ learning  (Read 6516 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Mikey_C

  • Sr. Member
  • ****
  • Join Date: Feb 2002
  • Posts: 322
    • Show only replies by Mikey_C
Re: C/C++ learning
« Reply #14 from previous page: March 02, 2003, 10:19:07 AM »
I for one, would be interested in such a project here on Amiga.org. Perhaps a seperate Tutorial Forum could be set up?

Also, what compiler should we all be using?
(so that I can purchase one in advance, if the idea goes ahead. - I hope it does.)

Mikey C
YNWA!
 

Offline Kronos

  • Resident blue troll
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4017
    • Show only replies by Kronos
    • http://www.SteamDraw.de
Re: C/C++ learning
« Reply #15 on: March 02, 2003, 11:05:42 AM »
@MikeyC

These are the options:
a) SAS-C: only 68k, C++-part very primitive.
b) StormC: 68k, WOS complete C++ with IDE, easy to use.
c)HiSoft/MaxonC: 68k, one could say roughly an older version of StormC.
d) vbcc: 68k,WOS,PuP(?),MOS,free,no C++,no IDE
e) gcc: 68k,WOS,PuP,MOS,AROS,OS4,free,full C++, no IDE.

GoldED can serve as an (limited) IDE for the lasrt 2.
1. Make an announcment.
2. Wait a while.
3. Check if it can actually be done.
4. Wait for someone else to do it.
5. Start working on it while giving out hillarious progress-reports.
6. Deny that you have ever announced it
7. Blame someone else
 

Offline Dietmar

  • Full Member
  • ***
  • Join Date: Nov 2002
  • Posts: 220
    • Show only replies by Dietmar
    • http://devplex.awardspace.biz
Re: C/C++ learning
« Reply #16 on: March 02, 2003, 01:17:33 PM »
Quote
GoldED can serve as an (limited) IDE for the last 2.


Actually, GoldED integrates with any C compiler out there via the "generic" variant of its C/C++ mode. It's not an IDE in the strict sense,  rather running, making, etc. via toolbars and general C/C++ support, such as synax highlighting, makefile generation, symbol lookup, etc. Some variants of the C/C++ mode add support for specific compiler features: breakpoints for StormC3, scmsg for SAS/C and options programs for gcc and vbcc, etc. But does not limit the C/C++ mode to these compilers.
 

Offline Mikey_C

  • Sr. Member
  • ****
  • Join Date: Feb 2002
  • Posts: 322
    • Show only replies by Mikey_C
Re: C/C++ learning
« Reply #17 on: March 02, 2003, 01:30:43 PM »
Off topic.

BTW, Dietmer, I have been meaning to ask you this for ages. (As a registered user of GoldED 6)

Why, do you feel the need to only sell copies of the latest GoldEd through your website only? I ask because IMO a program as good as GoldED should be available internationally via retailers. I brought GoldEd 6 from Kicksoft, why can't such an arrangement like that be made again?

Surely selling extra copies benefits you?

Mikey C
 
YNWA!
 

Offline Kronos

  • Resident blue troll
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4017
    • Show only replies by Kronos
    • http://www.SteamDraw.de
Re: C/C++ learning
« Reply #18 on: March 02, 2003, 01:41:26 PM »
@MikeyC
Allready answered here
1. Make an announcment.
2. Wait a while.
3. Check if it can actually be done.
4. Wait for someone else to do it.
5. Start working on it while giving out hillarious progress-reports.
6. Deny that you have ever announced it
7. Blame someone else
 

Offline Dietmar

  • Full Member
  • ***
  • Join Date: Nov 2002
  • Posts: 220
    • Show only replies by Dietmar
    • http://devplex.awardspace.biz
Re: C/C++ learning
« Reply #19 on: March 02, 2003, 06:27:18 AM »
Quote
I brought GoldEd 6 from Kicksoft, why can't such an arrangement like that be made again?


It's been great working with Kicksoft and Ray, he's helped tremendously with distribution in England (and still is, by  offering GoldED6 well below the price of the AIX version). Regrettably, the number of Amiga users kept spiraling down and at some point, working with distributors no longer made financial sense (a distributor receives a solid share of the retail price, for expenses and services, something like 50%-75%). There are other, technical reasons, too, but I'm not getting into those now, they are secondary.
 

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: C/C++ learning
« Reply #20 on: March 04, 2003, 10:19:38 AM »
Hi Atheist,

As it happens, I'm thinking of putting together that set of topics I mentioned earlier and banging it up on a free host somewhere. I'd post links to each tutorial (each as its own thread) in this forum each time I add a topic. Questions and (hopefully) answers could then be posted, courtesty of those nice people at Amiga.org.

As for your points about platform seperation etc, my original intention was to give tutorials on the pure ANSI C language so the choice of compiler would be down to the user.

I realise however, this may not suit the absolute beginner (we all were in that situation once), so there will be reccomendations. For example I was thinking StormC v3 is good enough for ANSI C coding, comes on the developer cd v2.1 (which would be useful for Amiga specific stuff later in the course) and has a nice IDE that is friendly enough for the beginner.

Each topics' turorial/example code will be guarenteed (hopefully) to work with the suggested set up (i.e. I'll actually test it myself ;-) beforehand)

People used to gcc etc. wouldn't really have much need for this tutorial site anyhow ;-) It's aimed at all those who want to learn C but are put off for the sorts of reasons that have cropped up in this forum (strange syntax etc. etc.).

Once the ANSI C is covered sufficiently, I'd hopefully introduce AmigaOS specific coding. Unfortunately, this is still something I'm learning myself ;-), so maybe I'll leave this to the experts!

Depending how it goes, I'd want to set up a C++ set of topics of a similar structure (but without the groundwork of the C syntax).

Finding the time is going to be the killer :-D

Suggestions folks?
int p; // A
 

Offline jahc

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 521
    • Show only replies by jahc
    • http://wookiechat.amigarevolution.com
Re: C/C++ learning
« Reply #21 on: March 06, 2003, 03:03:25 AM »
I keep pointing out that theres already good tutorials on the web, just go to google.com and search for "C tutorial" or "C++ tutorial"..

check these out for example:

http://www.cplusplus.com/doc/tutorial/
http://www.cprogramming.com/tutorial.html
 

Offline jahc

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 521
    • Show only replies by jahc
    • http://wookiechat.amigarevolution.com
Re: C/C++ learning
« Reply #22 on: March 06, 2003, 03:07:19 AM »
sorry, amiga specific tutorials would be good, but people need to learn ANSI C/C++ first..
 

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: C/C++ learning
« Reply #23 on: March 06, 2003, 09:17:23 AM »
Hi Jahc,

That's what I'm talking about dude :-D
AmigaOS stuff would come after...

-edit-

Also, it wouldn't just be static tutorials, each one would have feedback via (this) forum...
int p; // A