0

why C is still used when C++ is available? Reason

any Programming language when higher version is present then lower version will be outdated.But when there is C++ (which is C with Classed) still why 'C' is needed? and why many are using C when there is C++?

Can any one tell me what is the specific exact reason for this?



Category: Computers & Internet

Like it on Facebook, Tweet it or share this question on other bookmarking websites.

1

 The main advantage of C is C has the small standard library is that providing a working ISO C environment is much easier than it is with other languages (including C++), and consequently porting C to a new platform is relatively easy.There are also some advantages like Focusing more on details, uses little less memory compared to C++, and as already many Kernals, OS and other System softwares are on C so for the next version also people are using C and C little bit faster than C++(Other than first point I don't know the reason exactly how c is faster compared to C++ when OOP concepts are not used in C++ . )

I am giving two reasons:-

1.It is easier to perform the programing of mouse and other system related processes with C.
2.Secondly what i feel has been missed over here is that C++ is much sophistacated version of C which allows the much useful Object Oriented Paradigm ideal in case of application designs.Now for learners it is very difficult to learn the C++ without having a knowledge of C.As much as the synatax of C++ and Java are concerned they follow the same format approximately like C.So without knowing the lower level one cannot proceed to the upper.Correct me if I am wrong.

regards,
sajee


Answered


0

Aparajitha,


To start there is no specific reason for using C instead of C++. However it is basic language and is mostly used based on requirement.


The present requirement is basically in the field of embedded system and VLSI design which is completely harware related and C is the preferred language for programming in this field..C++ is basically used in oops based application. However there are many OOPS based languages which are more user-friendly which created competition for C++..


This maybe a guess but in really languages are preferred based on the features available in them..some applications maynot need complicated and complex programming features which need expertize and investment..in such case basic programming like C is sufficient to do in any easy way...


Hope you understand what i want to say...


 

Answered


0

C is mainly WYSIWYG. C is easier to read. Its code is easier for navigating. C needs very little runtime support.

 

Answered


0

The level of comfort and understanding matters logic remains same

Answered


Please register/login to answer this question.  Click here to login