Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » C vs C++: Understanding the Differences
C vs C++: Understanding the Differences [message #1858966] Wed, 03 May 2023 12:53 Go to next message
Rocky coder is currently offline Rocky coderFriend
Messages: 2
Registered: April 2023
Junior Member
Hello everyone,

I'm looking for help in understanding the differences between C and C++. I'm fairly new to programming and I'm having trouble understanding the distinctions between these two languages. I went through online resources but couldn't get it.

I'm familiar with the basics of C++, but I'm having trouble determining how it differs from C. Is there any documentation that explains the differences between the two languages in a clear and concise way? I'm especially interested in how C++ differs in terms of syntax, type safety, memory management, and other related topics.

Thank you in advance for any help you can provide.
Re: C vs C++: Understanding the Differences [message #1859212 is a reply to message #1858966] Fri, 19 May 2023 14:48 Go to previous message
sydney faria is currently offline sydney fariaFriend
Messages: 54
Registered: March 2013
Member
C is a procedural language, C++ is based of objects and is why there are classes in C++ and none in C. C has functions only, C++ also has them. The syntax of C is embedded in C++ so a C program will compile and run in a C++ IDE. An object oriented language will take a lot more of learning to use it properly, but everything you learn in C will be useful when you transition to C++. Also when you get in OOP you will have to learn UML and design patterns. Another discussion.
syd/wt1v
Previous Topic:C++ Neon Compiler Error: INT_MAX was not declared in this scope/could not be resolved.
Next Topic:Find struct variable in C/C++ search
Goto Forum:
  


Current Time: Sun Jan 19 06:50:54 GMT 2025

Powered by FUDForum. Page generated in 0.04000 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top