Commodore 128 Alive!

Commodore 128 => 128 programmers => C / Other => Topic started by: redrumloa on February 24, 2008, 09:43 AM

Title: Super C error, what gives? Help appreciated
Post by: redrumloa on February 24, 2008, 09:43 AM
I am just starting to learn C, so please don't laugh.
Here's the error while linking:

(http://i28.tinypic.com/2r6ntbs.jpg)



And here is the program:

(http://i32.tinypic.com/11tbybq.jpg)

There's nothing to it, what gives?
Title: Re: Super C error, what gives? Help appreciated
Post by: stevevb on February 24, 2008, 10:07 AM
I am not familiar with Super C, but you might want to try printf instead of print.
Title: Re: Super C error, what gives? Help appreciated
Post by: redrumloa on February 24, 2008, 11:45 AM
Quote from: stevevb on February 24, 2008, 10:07 AM
I am not familiar with Super C, but you might want to try printf instead of print.

Thanks for the reply. Over at Amiga.org, this was confirmed.

Amiga.org (http://www.amiga.org/modules/newbb/viewtopic.php?topic_id=43658&post_id=506288&order=0&viewmode=flat&pid=506284&forum=2#forumpost506288)

It turns out yet again the Super C manual has typos.

(http://i31.tinypic.com/ba4l.jpg)

Time to give up on the Super C manual for learning!
Title: Re: Super C error, what gives? Help appreciated
Post by: airship on February 25, 2008, 04:03 AM
I'm sorry, but since you told me not to, I can't help myself: LOL! LOL! LOL!!!

(I cannot myself program in C. I can only mock those who try.)
Title: Re: Super C error, what gives? Help appreciated
Post by: Golan Klinger on February 28, 2008, 05:30 PM
Quote from: redrumloaTime to give up on the Super C manual for learning!

Good idea. :)

I can recommend some books if you want to learn. I might even have a few in electronic form...
EhPortal 1.34 © 2025, WebDev