what are the disadvantages of C++?
Answers were Sorted based on User's Feedback
Answer / kanthi
Well, there are many. A few to mention:
* Does not provide very strong type-checking. c++ code is
easily prone to errors related to data types, their
conversions, for example, while passing arguments to
* Does not provide efficient means for garbage collection,
as already mentioned.
* No built in support for threads.
* Gets complex when u want to develop a graphics rich
application in c++
* portability of code on various platforms, etc
|Is This Answer Correct ?||135 Yes||20 No|
Answer / ranjan
it's not pure object oriented programming language. Because
c++ doesn't support for garbage collection...Which is a
disadvantage of C++. Which is overcome by java.
|Is This Answer Correct ?||129 Yes||49 No|
Answer / rajesh patil
it is not pure object oriented language.
|Is This Answer Correct ?||103 Yes||38 No|
Answer / mandoos
|Is This Answer Correct ?||77 Yes||43 No|
Answer / srikaanth
It is not pure object oriented programming language.
not platform independent.
|Is This Answer Correct ?||60 Yes||26 No|
Answer / thananjayan
1.It doesn't support to create GUI oriented S/W easily
2.It can't run all the PLATFORM(WINDOWS,UNIX,etc.)
3.It create .OBJ format,when it compiling so easy to HACKING
4.Storage of our application is so poor,bcoz it having file
concept only not DATABASE
5.Poor in Multitasking
|Is This Answer Correct ?||54 Yes||25 No|
Answer / madhava rao
1.it is not secure
2.it is not simple
3.it is not platform independent
beacuse c++ contains
i am trying to prove it programaticaly;
// hear i am try ing to create new bolck
// in side this block i am trying to create an object of
// hear we may think that "obj" life has ended
//hear i am trying to create an pointer variable of type "A"
// hear i am tryint to call a method to the pointer of
//with out assign any address
// than where is the security for u r "obj" already life
i cal prove the remain things also with programatically
pls contact: SoftTech computer Education,new mig,bhel hyderabad,
mail id: email@example.com
|Is This Answer Correct ?||17 Yes||10 No|
Answer / jaffar
hi guys,above every said C++ is not fully object oriented
language , not support ENCAPSULATION and not platform
i think you had a lake of Knowledge about C++
The World most of the companies like Ms , Hp, HCL using C++
for their entire developments.Still Most of the Operating
Systems,System drivers,games are developed in C++.
because of it is fully portable,flexible and ex tenable.And
it most of the lib are platform independents like
SL,STL,OpenGL,OpenCV and etc...
I agree that one,C++ is more complected.
It is not suitable for child-woods.
|Is This Answer Correct ?||15 Yes||8 No|
Answer / linto john
one of the main reason is that it does not support encapsulation, as all the code should be within the class, but main function from where the execution starts is outside the class.
and one more reason is that it does not support garbage collection
|Is This Answer Correct ?||3 Yes||1 No|
Answer / firstname.lastname@example.org
C++ lacks in System security because it creats .obj file which can be attacked by hacker .Most of the companies uses C and C++ for system programming because it is prone to attacks in application programming.
Others are :-
* does not provide efficient means for deallocation of memory (garbage collection)
* compilation of code is costly due to 2 reasons :-
1. OS vendor has to employ professionals who can make OS environment that supports C++ applications .
2. Authenciation is required by the vendor which is costly .
|Is This Answer Correct ?||0 Yes||0 No|
Can destructor be overloaded?
can we create and enter the data & hide files using programmes ?
what is virtual function?
what is the difference between inter class and abstract class...?
What is coupling in oop?
What is the difference between pass by value,pass by pointer,pass by reference in the catch block in the exception handling in c++
When not to use object oriented programming?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
Why u change company?
What is static in oop?
Difference between realloc() and free?
In multilevel inheritance constructors will be executed from the .... class to ... class