what are the disadvantages of C++?
Answers were Sorted based on User's Feedback
Answer / meet
There is not so strict/strong type checking in C++ like Java & C#. Pointers can be easily be misused. Dynamic memory management is error-prone because the lack of automatic garbage collection like Java & C#. There isn't bound checking on arrays. Friend functions & friend classes can be misused.
Supports stack allocated objects so results in memory wastage but provides runtime efficiency.
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / prasad
Allocation and deallocation of memory is responsible for programmer but java overcome it by JVM
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / m.oqbal
in c++ the pointer is complicated the concept of oop.
in c++ there is no bound checking by default.
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / bob
I think, the main disadvantage of C++ is that there is a
crowd of uncompetent people who doesn't know about this
language anything (as well as about key concepts of software
develoment, like OOP). Think twice before post bullshit.
Cheers.
| Is This Answer Correct ? | 3 Yes | 5 No |
Answer / saidulu
c++ is approching from top to down when we executing the
program from main method.
without using single class and object we can write the
program from c++
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / sonia
it is suitable for large and complex programs only not for
small programs and also dynamic binding is the major
disadvantage if c++.it is very difficult to understand flow
of control during execution of complex programs.dangling
pointer is another situation which can give wrong output.
| Is This Answer Correct ? | 3 Yes | 7 No |
Answer / akshay
C++ is not network based. Softwares in C++ cannot be shared among people at different locations.
| Is This Answer Correct ? | 2 Yes | 6 No |
Answer / nishanth
Hello i am not an expert in c++,but i am a student of computer science and our c++.
I think lack of arangement is the problem of this oop language
| Is This Answer Correct ? | 0 Yes | 4 No |
Why we use classes in oop?
What is a superclass in oop?
Tell us about yourself.
47 Answers ABB, Amazon, Fidelity, Flextronics, Franklin Templeton, HCL, Hexaware, IBM, Impetus, Infosys, Reliance, Rofous, Silgate, Sutherland, TCS, Thomson Reuters, Virtusa, Wipro,
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
Why multiple inheritance is not possible?
What is virtual Function.
Explain virtual inheritance?
What normal C constructs work differently in C++?
class type to basic type conversion
Write a program to multiply 3x3 matrics
which is best institute to learn c,c++ in ameerpet hyderabad
What polymorphism means?