NO

Author Topic: Begginer's tutorial  (Read 5037 times)

Emmz

  • Guest
Begginer's tutorial
« on: September 14, 2004, 08:23:21 PM »
I'm new to Pelles C and have no experience in any other language  :oops:  If anyone knows of a online tutorial or guide to help me get used to working with Pelles C please post a link to it. Also seen as i'm new if anyone thinks that there is a better program for learning how to use C/C++ or any other language please say so. Thanks in advance   :wink:

CLR

  • Guest
Begginer's tutorial
« Reply #1 on: September 14, 2004, 09:42:27 PM »
Hi.

As a beginner myself, I would like to recommend Eddie's Guide to C Programming..

Good luck.

ROM

  • Guest
beginners tutorial
« Reply #2 on: September 16, 2004, 10:17:04 PM »
There is "a lot" of tutorials for C. Problem is that they are'nt ANSI/ISO(C99) compliant. So, even the simplest of examples will probably not compiles in PellesC, unfortunately. They'ew mostly the old ANSI C standard, circa 1989, 1990.

I found it difficult when doing a search to find any C99 C tutorials. But, here are 2:

http://members.shaw.ca/ipatters/
http://www.trunix.org/programlama/c/kandr2/

The following link describes differences between ISO 98 C++ AND ISO C99 C.

http://david.tribble.com/text/cdiffs.htm

Once a little about the differences between the old C and the newer C99 standard are known, any of the very many old ANSI C tutorials on the WEB can be converted to ISO/ANSI(C99) C.

Hope that helps

ROM

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Begginer's tutorial
« Reply #3 on: September 17, 2004, 07:40:19 AM »
C99 mostly add things, so ANSI C should work OK. Pelles C/LCC have a stricter type checking than some C compilers, so you might get some warnings, but most code should compile.

Since not many compilers support C99 yet, looking at ANSI C might not be all that bad...

Pelle
/Pelle

ROM

  • Guest
begginer's tutorial
« Reply #4 on: September 17, 2004, 06:25:27 PM »
<Since not many compilers support C99 yet, looking at ANSI C might not be all that bad... >

For the simpler C examples out on the web, only a few modifications need to be taken into account to get them to compile on PellesC. For example, but not limited to:

a)prototype all user defined functions which will be called in the app., after the includes and before main
b)main()  change to  int main(void)
c) return 0 or something else before the closing brace of main

Well, I'm just a beginner myself.

ROM