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
ok whats the deal????
RE:ok whats the deal????
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
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
RE:ok whats the deal????
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).
What different "syntax" have you seen? The only C language that actually differed in syntax was really K&R (pre-ANSI).