Sakthivel Dhanabalakrishnanan <[EMAIL PROTECTED]> writes: > what i want is some people said that in some situation we > will use C and C++. > > in what situation u will use C and C++.Please tell me .i > mean like EMbedded systems,RTOS, Networking etc.
Its a matter of programming choice. Some people like to think of programs in a OO way. They might be more attracted to C++ than C. Some people (like me) like the plain way C is and may advocate C. I dont think talking of language advantages is anything relevant. OOP is a programing style. in C++ it is a language construct. But decent programmers write OOP even in C. Other than these., you can do practically anything with these two languages. Issues of speed, efficiency, etc... (AFAIK) is a issue of the previous decade. Todays compilers are far more mature. In the use of a language, what matters is., your proficiency in a language. If you are comfortable with C++ go ahead with it. If you are comfortable with C then use C. If you want OO and you are not comfortable with C++., you can still write OO code in C. In some cases like OS Development, kernel programming, etc.. C comes more handy because of its plainness. However, once the basic boiler plate code is done, C++ is also as good as C. However, in my above comments, I talk only about C/C++. Please dont read Java/Python/* in the place of C++ anywhere.. Their case is completely different. -- .O. A proud GNU user ..O http://www.joesteeve.tk/ OOO http://gnukid.5gigs.com/
pgp9aDKBa70iC.pgp
Description: PGP signature
