I dont understand..... ???

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
bilbo

I dont understand..... ???

Post by bilbo »

ok, I am currently learning ANSI C and I am getting very good with it, although I am trying to write a kernel in C and from the example code for kernels written in C looks very different than ANSI... is there a difference between the two that I should know... why is it this way?... I have tried to load a kernel written in plain ANSI C from grub and I just doesnt work... do I need to write some kind of suppport code to execute plain ANSI C code?... thx for the help...
bilbo

RE:I dont understand..... ???

Post by bilbo »

could it be some kind of other C syntax?... help would be greatly appriciated... thx
User avatar
gaf
Member
Member
Posts: 349
Joined: Thu Oct 21, 2004 11:00 pm
Location: Munich, Germany

RE:I dont understand..... ???

Post by gaf »

Hi bilbo,
there once were different versions of C but the language has been standartized back in the 1980s.
http://en.wikipedia.org/wiki/C_programm ... ge#History

Could it be that the code you're refering to is written in C++ ?
Maybe you could post a link to it and say what exactly is your problem with it.

regards,
gaf
Post Reply