Is it possible to create a program without any C/C++ Headers.
I had asked this question before also but got all answers like to look at linux source code.I don't know where to start in the source code.
Help would be appreciated.
> Is it possible to create a program without any C/C++ Headers.
Yes, easily, but why on earth would you want to do that? Headers provide prototypes and interfaces to all the functions you need to compile your programs.
> but got all answers like to look at linux source code
Anyone who directs you to look at the linux source is not treating you nicely. A bootloader or OS core will not use standard headers, because they are not available at the time the program is executed. That is a very special case and you shouldn't need to emulate it.
Anyone who directs you to look at the linux source is not treating you nicely. A bootloader or OS core will not use standard headers, because they are not available at the time the program is executed. That is a very special case and you shouldn't need to emulate it.
Except his whole goal was to write a 'Hello world OS', ie emulating it is exactly what he's trying to do.
Is it possible to create a program without any C/C++ Headers.
I had asked this question before also but got all answers like to look at linux source code.I don't know where to start in the source code.
Help would be appreciated.
Denis: If you really know what you're doing and understand just what it takes to write an OS, you'll do well to choose a different partner, because Ashishm1995 obviously doesn't know the difference between application and systems programming.