ok whats the deal????

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
_marcus_

ok whats the deal????

Post by _marcus_ »

ok... I am just starting out in OSdev and have seen kernels written in c but they all have different syntaxes, as if there was several different "dialects" of C, am I right?... can someone please clear this up for me, and explain the different types of C?

     my regards
Moose

RE:ok whats the deal????

Post by Moose »

Im no C expert but, there are many different syntaxes to C because different versions were developed by different companies.

There is a version of C called 'ansii C'. This was made 'standard' as all the companies created their various versions and so where incompatible.

Moose
common

RE:ok whats the deal????

Post by common »

No, there is but one C syntax.  The standard today should no longer be referred to as ANSI C, as it is now governed primarily by the ISO.  ISO 9899:1999 E was the last C standard.  Prior to that, it was ISO 1990 and ANSI C, 1988/89.

What different "syntax" have you seen?  The only C language that actually differed in syntax was really K&R (pre-ANSI).
Post Reply