what are the disadvantages of C++?




Answers were Sorted based on User's Feedback



what are the disadvantages of C++?..

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
functions.
* 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

what are the disadvantages of C++?..

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

what are the disadvantages of C++?..

Answer / rajesh patil

it is not pure object oriented language.

Is This Answer Correct ?    103 Yes 38 No




what are the disadvantages of C++?..

Answer / mandoos

persistance

Is This Answer Correct ?    77 Yes 43 No

what are the disadvantages of C++?..

Answer / srikaanth

It is not pure object oriented programming language.
not platform independent.

Is This Answer Correct ?    60 Yes 26 No

what are the disadvantages of C++?..

Answer / thananjayan

C++ Disadvantages:
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

what are the disadvantages of C++?..

Answer / madhava rao

1.it is not secure
2.it is not simple
3.it is not platform independent
sucure:
beacuse c++ contains
->pointers
->friend functions
->globla variables
i am trying to prove it programaticaly;
ex:
#include<iostream.h>
#include<conio.h>
class A
{
int a;
void add();
{
a=45;
cout<<a;
}
};
void main()
{
clrscr();
// hear i am try ing to create new bolck

{
// in side this block i am trying to create an object of
//type "A"
A obj;
obj.add();
// hear we may think that "obj" life has ended
}
//hear i am trying to create an pointer variable of type "A"
A *p;
// hear i am tryint to call a method to the pointer of
//tyep "A"
//with out assign any address
p->add();//it works
// than where is the security for u r "obj" already life
//edned
}
NOTE:
i cal prove the remain things also with programatically
pls contact: SoftTech computer Education,new mig,bhel hyderabad,
cell:91-9291543127
mail id: madhav_rao34@yahoo.in

Is This Answer Correct ?    17 Yes 10 No

what are the disadvantages of C++?..

Answer / jaffar

hi guys,above every said C++ is not fully object oriented
language , not support ENCAPSULATION and not platform
independent.

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++.
why?
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

what are the disadvantages of C++?..

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

what are the disadvantages of C++?..

Answer / prince0777@facebook.com

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

Post New Answer



More OOPS Interview Questions

WILL I GET A guaranteed JOB AFTER DOING bsc()IT) and GNIIT from an NIIT CENTRE??

21 Answers   NIIT, MIT, Biocon,


Name a typical usage of polymorphism

3 Answers  


given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy

0 Answers   DELL,


What will happen when the following code is run: int x; while(x<100) { cout<<x; x++; } 1) The computer will output "0123...99" 2) The computer will output "0123...100" 3) The output is undefined

7 Answers  


should we use linear search or binary search if elements are placed in random order or mixed?in both cases? i need a little bit detail ans?thnks

2 Answers  






what is difference between thread and programme.

1 Answers   NCC,


what is polymorphism?

4 Answers  


What do you mean by multiple inheritance and multilevel inheritance? Differentiate between them.

2 Answers  


There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?

2 Answers  


What is the difference between XML Web Services using ASMX and .NET Remoting using SOAP?

1 Answers  


what are the ways in which a constructors can be called?

0 Answers  


What is ambiguity in c++

4 Answers   Accenture, Mphasis,






Categories