Firstly C is older than C++ so it was learned before C++. Because of this many seasoned programmers wrote their progs in C++ and then when other programmers came along they just kept the program in C. If it isn't broken, why fix it?
Plus C++ is not quite like C. So for doing very low level stuff C is still the better option. C++ also is so big and complicated that C often seems easier to use than C++.
And you can still program C in a OOP way. It just wasn't designed with it in mind.
Alex
|