GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Programming  >  C++
Go To First  |  Previous Question  |  Next Question 
 C++  |  Question 143 of 203    Print  
What are the disadvantages of C++?

  
Total Answers and Comments: 7 Last Update: December 07, 2008     Asked by: premadona 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 05, 2007 11:30:17   #1  
zjffdu        

RE: What are the disadvantages of C++?
Not type safe
Not pure OO

 
Is this answer useful? Yes | No
September 22, 2007 05:37:55   #2  
bornToLose        

RE: What are the disadvantages of C++?
1. Scope is also limited
2. Platform dependent
3. does not give excellant graphics as compare to java
4. Not case sensitive
5. Less features as comapred to Java& C#.
6. Not applicable in web enviornment

 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 2Overall Rating: -2    
April 16, 2008 10:21:37   #3  
redleader Member Since: April 2008   Contribution: 10    

RE: What are the disadvantages of C++?
C++ requires a better aptitude to programming and is more technically demanding than Java.

Java would be nowhere without C++ and before anyone tries to make a comment they should firstn look at what all the JVM's are written in!!!!!!!!!


I'm partial to sun's hotspot myself.

 
Is this answer useful? Yes | No
May 07, 2008 14:44:37   #4  
r v p Member Since: May 2008   Contribution: 2    

RE: What are the disadvantages of C++?
In addition extra programming effort is required in C++ to free up used memory - using delete etc for all the memory locations that are used on the heap. In Java the garbage collector automatically frees up memory when the variable goes out of scope (although we cannot be sure that it does run)
 
Is this answer useful? Yes | No
May 08, 2008 03:12:28   #5  
redleader Member Since: April 2008   Contribution: 10    

RE:

Not knowing when the garbage collector will run is a real problem in Java. The issues in Java surround the JVM and second guessing how it will behave. So the problem domain has just shifted but now it has become more speculation than scientific fact unless you know the JVM implementation.

In that case you will also need to know C++!!!!!!

Just to correct points made earlier by others.

C++ is not pure OO it is all OO plus C backward compatibility.
C++ is case sensitive.... this shows that some haven't event written a line of code in C++
The issues some people have with C++ normally amount to the fact that they don't have the required skill to program in that language. The advice is; stick to what you know.

In regards to memory management. I have never had any problems with it.

Graphics; well the most sophisticated graphics are rendered and written using C++.

Some can drive a family car but few would be able to drive a formula 1 racing car!!!!!


Stick to what you know!!!!!




 
Is this answer useful? Yes | No
December 07, 2008 10:11:17   #6  
burraganesh Member Since: December 2008   Contribution: 20    

RE: What are the disadvantages of C++?
C++ has plenty of features than C so a lot of syntax needs to be know by the programmer. Well when we need more we should learn more.

Another disadvantage is that C++ is not suitable for embedded controllers as the executable size is more in C++ than in C and assembly. This is because more assembly instructions are internally generated to ensure total privacy and encapsulation.

By using exceptional handling we slow down the process so is the case with virtual functions.

So C++ is not suited in embedded applications which are limited by memory and speed.

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape