Hi guys,
This is sort of two questions in one really XD.
I'm trying to make an OS using C. Which is a real challenge as I'm more of a C++ kinda guy, anyway.
How would I be able to create a scanf() type function? The reason I'm asking is because, as you may know, when making an OS you can't include system headers ( you know the #include < > ones ). Is there a way of doing this without the system headers?
And a second, less important question is, how would I be able to incorporate C++ into the C kernel? I.e. make a c++ function, and then call it from within the C main() function? ( If this can be answered then it could make my life easier with the scanf problem as I could use std::cin instead. ).
Thanks in advance.
Jamie.