Why Can't C++ Be Used to Develop Operating System?
Hello, every body.
I'm sorry to bother you when you are busy. But I do need to get help from you. Recently, I had a discussion with a friend about C and C++. He said that C++ is used to develop software only, while C can not only be used to develop software, but also can be used to develop operating system. He also said that C had been proved to be able to develop a stable operating system, while C++ has not. At this point he mentioned that Unix was developed with C, and it is the most stable operating system all over the world. He also said that there is no operating system developed with C++ by now. Is that true? If it's true, why can't C++ be used to develop operating system? Is it because C++ is less efficient than C? If what he said is wrong, could you please tell me which operating system was developed with C++? Thank you very much!
Iím learning C++ now. I had learnt C before I learn C++, and I know that C++ can do anything that C can. But why canít C++ be used to develop operating system? Itís really hard for me to understand. C is a procedural programming language, while C++ is a multiparadigm language providing support for procedural, object-based and also object-oriented programming. Since C++ supports procedural programming just like C, why canít C++ be used to develop operating system. I really canít understand.
Looking forward to hearing from you.