Welcome, Guest. Please login or register.

Author Topic: Learning C on Amiga  (Read 2316 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline SysAdminTopic starter

  • News posting Auto Agent
  • Hero Member
  • *****
  • Join Date: Aug 2009
  • Posts: 1393
    • Show only replies by SysAdmin
    • http://www.a-eon.com
Learning C on Amiga
« on: July 21, 2013, 05:54:21 PM »
Anyone have a books recommendations or web resources to learn C programming on the Amiga? Focus will be for AmigaOS 4.x. This would be for someone with very high level knowledge of computers but a beginner as far as programming is concerned.
Posts on this account before August 4th, 2012 don\'t belong to me.
 

Offline pjhutch

  • Sr. Member
  • ****
  • Join Date: Mar 2002
  • Posts: 452
  • Country: england
  • Gender: Male
  • Amiga user and developer
    • Show only replies by pjhutch
    • http://www.pjhutchison.org
Re: Learning C on Amiga
« Reply #1 on: July 21, 2013, 06:19:37 PM »
 

Offline Madshib

  • Jr. Member
  • **
  • Join Date: May 2013
  • Posts: 86
    • Show only replies by Madshib
Re: Learning C on Amiga
« Reply #2 on: July 21, 2013, 06:26:33 PM »
Thank you!!!
 

Offline nicholas

Re: Learning C on Amiga
« Reply #3 on: July 21, 2013, 07:04:44 PM »
The best way to learn C is to read The C Programming Language by K&R.

Then once you've mastered the language download the Amiga C Manual from Aminet.
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline nicholas

“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline nicholas

“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline eliyahu

  • Lifetime Member
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jan 2011
  • Posts: 1220
  • Country: us
  • Thanked: 4 times
  • Gender: Male
    • Show only replies by eliyahu
    • eliyahu.org
Re: Learning C on Amiga
« Reply #6 on: July 21, 2013, 08:01:06 PM »
Quote from: SysAdmin;741479
Anyone have a books recommendations or web resources to learn C programming on the Amiga? Focus will be for AmigaOS 4.x. This would be for someone with very high level knowledge of computers but a beginner as far as programming is concerned.

there are several good resources i can recommend. the first is, as nicholas points out, is a good, general purpose C language book. i remember using 'practical c programming' from o'reilly back in the late 1990s and loved it. highly recommended.

then for learning C on amiga, again, nicholas pointed out the excellent amiga c manual. it's a bit dated, but still useful, especially if you want your tools to be backwards compatible with AOS3, MOS, and AROS. nearly the entire contents of the RKRMs are online -- and being updated to reflect changes since AOS2.0 -- at http://wiki.amigaos.net/index.php/DeveloperDoc:Main. a good place to ask questions would be os4coding.net or the developer and SDK forums on support.amigaos.net.

lastly you'll want to download the AOS SDK at hyperion-entertainment.biz, which includes all of the autodocs and plenty of additional documentation to crawl through. i highly, highly recommend codebench (http://www.codebench.co.uk) as a development environment. if you'd prefer to roll your own, other good options are golded and stormced v5, recently released by alinea.

lastly a good thing would be to come to amiwest this year. starting the wednesday before the conference is a developers seminar that lasts through friday. steven solie and other developers are there to answer questions, and the classes are very useful. plus you can stay for amiwest and booze^H^H^H^H^H find out about new developments in the classic and next-generation amiga space.

-- eliyahu
"How do you know I’m mad?" said Alice.
"You must be," said the Cat, "or you wouldn’t have come here."
 

Offline DavidF215

  • Full Member
  • ***
  • Join Date: Aug 2002
  • Posts: 183
  • Country: us
  • Gender: Male
    • Show only replies by DavidF215
    • Cross Timbers Haven
Re: Learning C on Amiga
« Reply #7 on: July 21, 2013, 09:27:24 PM »
If you want to develop across AmigaOS platforms and/or use Windows as a development platform, try AmiDevCpp. It also has some AmigaOS specific sample projects that are downloadable.

AmiDevCpp link: http://amidevcpp.amiga-world.de/index.php?HR_LANG=english
AmigaOS enthusiast since 1993.
 

Offline Kronos

  • Resident blue troll
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4017
    • Show only replies by Kronos
    • http://www.SteamDraw.de
Re: Learning C on Amiga
« Reply #8 on: July 21, 2013, 09:36:28 PM »
All these manuals are only usefull for stuff that was valid with OS2.0 or earlier and/or concerns older compilers used back than.

Depending on the scope of the actual project they may even do more harm than good.

So yes, 1st thing is to learn C.
2nd thing is to really learn C *doh*
3rd one should get a grasp of gcc, make & co

After that it might be neccesary to dwefle into stuff like locale or gui-toolkit (ReAction in this case *würg*) which most likely won't be covered into deep by these manuals.

Further advices needs further info on the project.
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 Madshib

  • Jr. Member
  • **
  • Join Date: May 2013
  • Posts: 86
    • Show only replies by Madshib
Re: Learning C on Amiga
« Reply #9 on: July 22, 2013, 12:35:21 AM »
You guys are awesome!

I am getting ready to jump in myself and it is great to know that there are some helpful people out there willing to support newbie programmers. I am looking forward to writing for AOS and *nix. :crazy: