Welcome, Guest. Please login or register.

Author Topic: Help with C? I have a simple(?) problem.  (Read 5202 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline redrumloaTopic starter

  • Original Omega User
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 10126
    • Show all replies
Help with C? I have a simple(?) problem.
« on: February 24, 2008, 12:05:06 AM »
Please see this thread.

I am using 'Super C' for the Commodore 128, it is a standard c based on K&R so I figure one of you Amiga guys could help :-?
Someone has to state the obvious and that someone is me!
 

Offline redrumloaTopic starter

  • Original Omega User
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 10126
    • Show all replies
Re: Help with C? I have a simple(?) problem.
« Reply #1 on: February 24, 2008, 01:19:19 AM »
Thanks for the responses, I'll try that now. I suspect you are probably right, I thought maybe that was it but I am green enough I trusted the manual. Look at the manual page, that's what it showed. However I am only in the first chapter and have already found 2 typos on my own! This will make 3 typos in just the 1st chapter so far!

I'll report back in a minute or so.
Someone has to state the obvious and that someone is me!
 

Offline redrumloaTopic starter

  • Original Omega User
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 10126
    • Show all replies
Re: Help with C? I have a simple(?) problem.
« Reply #2 on: February 24, 2008, 01:27:18 AM »
Yup that did it, confirms another F-up in the manual. I may give up on this Super C manual now and just read a generic gcc book I have... :-x

Thanks for the info.
Someone has to state the obvious and that someone is me!
 

Offline redrumloaTopic starter

  • Original Omega User
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 10126
    • Show all replies
Re: Help with C? I have a simple(?) problem.
« Reply #3 on: February 24, 2008, 01:37:20 AM »
Quote

Piru wrote:
I'd suggest moving that manual to trash.

2nd edition of K&R would be much more useful.


Yeah, I am thinking that would be a good idea. I haven't found this manual to be all that easy to read so far and errors like this make it near impossible to learn. I have THIS book on hand which I will try next. I may get the actual K&R book too if people like you think it would be beneficial.
Someone has to state the obvious and that someone is me!
 

Offline redrumloaTopic starter

  • Original Omega User
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 10126
    • Show all replies
Re: Help with C? I have a simple(?) problem.
« Reply #4 on: February 25, 2008, 12:12:54 AM »
Quote

SamuraiCrow wrote:
C on the C64/128 is a waste of time.  If you want results, you end up having to rewrite code in Assembly langauge anyway.  :-(


Waste of time, why? Look at my sig. 16bit 20Mhz CPU, 16MB RAM directly addressable to the CPU. Plenty of horsepower untapped, plenty of open source tools that could be ported.

Also what I learn can be used elsewhere. I am currently learning using gcc on Ubuntu.
Someone has to state the obvious and that someone is me!