C++: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
Zenith (talk | contribs)
No edit summary
Cic (talk | contribs)
m Killing "PlusPlus" for "C++ Bare Bones" too
Line 11:
It's for the very same reason of C. The startup code needed for C is OS-specific, and some times compiler specific. In a freestanding environment, you'll need to implement your own startup code to configure the stack and other language specific features. Then, your boot loader has to know where this startup code begins and jump to that address if it hopes to successfully run your kernel.
 
There is a bit more work to do than in C before calling main. For more information see [[C PlusPlus bare bones|C++ Bare Bones]].
 
===Pure virtual functions===