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:
Hi.
As a beginner myself, I would like to recommend Eddie's Guide to C Programming. (http://www.iota-six.co.uk/c/default.asp).
Good luck.
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
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
<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