Why do C++ programmers dislike C?

Asked by Last Modified  

Follow 5
Answer

Please enter your answer

Prof IT Trainer 15 years of Exp Provide Training Online Personal Class Institute School and Colleges

C++ programmers don't dislike C universally; some may find C limiting due to its lack of modern features like object-oriented programming and stricter type safety
Comments

"Transforming your struggles into success"

Some C++ programmers dislike C because it lacks modern features like object-oriented programming, type safety, and stronger abstractions, which C++ provides to make coding more efficient and less error-prone.
Comments

"Rajesh Kumar N: Guiding Young Minds from 1 to 12 with Expertise and Care"

C++ programmers may dislike C due to: 1. Lack of Object Orientation: C is procedural, while C++ supports OOP. 2. Manual Memory Management: C requires more manual handling of memory. 3. Complex Syntax: C++ features can make code more complex than C. 4. Error-Prone: C's simplicity can...
read more
C++ programmers may dislike C due to: 1. Lack of Object Orientation: C is procedural, while C++ supports OOP. 2. Manual Memory Management: C requires more manual handling of memory. 3. Complex Syntax: C++ features can make code more complex than C. 4. Error-Prone: C's simplicity can lead to more vulnerabilities. read less
Comments

Experienced & certified language instructor

C++ is often considered a more advanced language compared to C for several reasons: Object-Oriented Features: Unlike C, which is a procedural language, C++ incorporates object-oriented principles such as classes, inheritance, and polymorphism. These features provide greater flexibility and organizational...
read more
C++ is often considered a more advanced language compared to C for several reasons: Object-Oriented Features: Unlike C, which is a procedural language, C++ incorporates object-oriented principles such as classes, inheritance, and polymorphism. These features provide greater flexibility and organizational benefits, making C++ more suitable for managing complex software projects. Memory Management: C++ offers sophisticated memory management techniques, such as RAII (Resource Acquisition Is Initialization) and smart pointers, which help automate memory handling and reduce errors. On the other hand, C requires developers to manually manage memory with functions like malloc() and free(), increasing the risk of memory leaks or segmentation faults. Type Safety: C++ provides stronger type checking and introduces templates, enhancing type safety and reducing the likelihood of runtime errors. C's more permissive type system can sometimes lead to subtle bugs that are harder to detect. Tools and Libraries: C++ benefits from a rich set of modern development tools, libraries, and frameworks that streamline the development process. In contrast, C's standard library is more basic, making it feel somewhat outdated when compared to the broader capabilities available in C++. read less
Comments

C
Comments

Ex-IITian with over 8 years experience in Physics Chemistry and Maths and English

C was basically used to code the Linux system kernel ..and still in use today so its system specific or kernel specific development where it has coherency and mostly structured wise and low level control .C++ is mostly used in application programme building where objects lifetimes and usage are defined...
read more
C was basically used to code the Linux system kernel ..and still in use today so its system specific or kernel specific development where it has coherency and mostly structured wise and low level control .C++ is mostly used in application programme building where objects lifetimes and usage are defined and how they interact to produce other more objects and hence a more application specific. read less
Comments

View 4 more Answers

Related Questions

Which is the best software for working with C language?
Choosing the "best" software for working with the C language can depend on your specific needs and preferences, but a widely used and reliable option is the GNU Compiler Collection (GCC). GCC is an open-source...
Kiran
0 0
6
How can I write a C program to print a name without using a semicolon?
void main() { if(printf("Your Name")) { } }
Anand
0 0
6
How would you round off a value from 1.66 to 2.0?
By adding 1.0 (float) to the integer part (type casted) of 1.66.
Dhanya
0 0
6
What is the error in the given C language program?
Common errors in C programs include syntax errors (typos, missing semicolons, incorrect use of operators), logical errors (flawed algorithms or incorrect conditional statements), and runtime errors (memory...
Suresh
0 0
5
Can stdout be forced to print somewhere other than the screen?
Although the stdout standard stream defaults to the screen, you can force it to print to another device using something called redirection
Vijay
0 0
5

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

C Program-Temperature [conversion from farenheit to degree celsius]
//WAP to convert temperture from farenheit into degree celsius //Header files#include<stdio.h>#include<conio.h> //Main functrion void main(){ //Variable declaration of type float float...

Design your own Mouse Driver in C Language
Mouse Driver (msdrv.h) #include #include union REGS i,o; restrictmouseptr(int x1, int y1, int x2, int y2) { i.x.ax=7; i.x.cx=x1; i.x.dx=x2; ...

Structures in C
A structure is a collection of one or more data members possibly of different data types, grouped together under a single name for convenient handling. Defining a Structure: In general terms,...

C Program-Upper Case Demo
/*WAP to print the character entered by user in upper case*/ //Header files #include<stdio.h>#include<conio.h> //Main function void main(){ char ch; //Function for clearing screen clrscr(); ...

Why Indexing Should Start From Zero In Array ?
Why numbering should start at zero? To denote the subsequence of natural numbers 2, 3, ..., 12 without the pernicious three dots, fourconventions are open to usa) 2 ≤ i < 13b) 1 < i ≤ 12c)...

Recommended Articles

Lasya Infotech is a Hyderabad based IT training institute founded in 2016 by O Venkat. Believing in his innovation, passion and persistence and with a diverse blend of experience, he started his brainchild to deliver exemplary professional courses to aspiring candidates by honing their skills. Ever since the institute envisions...

Read full article >

Brilliant Academy is one of the reputed institutes for B.Tech tuition classes. This institute is specialised in delivering quality tuition classes for B.E, Engineering - all streams and Engineering diploma courses. Incorporated in 2012, Brillant Academy is a brainchild of Mr Jagadeesh. The main motto of the academy is to...

Read full article >

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Looking for C Language Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you