curious.. and asking... and please dont respond saying ask google.. i'm asking you guys for a reason...
curious.. and asking... and please dont respond saying ask google.. i'm asking you guys for a reason...
"And what's the real lesson? Don't leave things in the fridge"
C++ is coded from a object oriented approach.
|--- www.RealJamaicaEstate.com ™ ---|
Invest small = small returns [micro enterprise] | Invest Big = returns Big [macro enterprise]
--- www.fashionsJAMAICA.com ™ -|- www.ChampsJamaica.com ™
I think he needs a simpler definition than that.
Something like C contains a few libraries and is not as simple to code with like c++ which has classes that should make repeating codes in the program easier, etc.
Current Android - OnePlus 7T Pro
PC Specs - Motherboard: Asus PRIME B560-PLUS | Processor: Intel Core i5-11600K (stock) | Memory: 32 gigs Corsair Vengeance DDR4@3200mhz | Video Card: ASUS ROG Strix GeForce RTX 4070 (OC Edition) | Monitor: ASUS TUF Gaming 27" 2K Monitor | Steam ID -> Powpow
basically c++ takes on a object oriented approach and c a procedural
The greatest discovery of all men through lifetime is that a man can alter his life by altering his attitude!
Basically you have C which is better for writing functions to support real programs, it's those programs that execute in the background every moment your machine is on but you just don't know it.
C++ can do everything C can plus much more with cool new libraries and functionality. With these additions, it's much easier to write real programs - the ones that accept commands, data, etc. from users and perform some action/ provides a result. For eg, bitcomet (a free torrent program) is written in C++. You tell it what torrents you want to download and it carries it out to the end.
So I Heard You Liek Mudkipz?
c was before c++. the name c++ is programming speak for "c + 1" - hence an upgrade in the "paradigm" or approach if you will. c programs are built around the idea of passing data to functions and returning processed data from those functions. this is procedural programming. c++ has those same features as well as a new idea of object oriented programming - where the data and the functions are more closely tied together so it makes it easier to write really complex programs in a more natural way.
xyoni forever
What kind of question is that? There are many differences between C and C++, do you want a list of all the differences?
1. Syntax varies slightly
2. C++ use a object oriented approach, thereby promoting code reuse and less coding
3. C has faster execution times than C++.
The fact that you can include C code in a C++ project without changing anything illustrates the nature of the languages. In order words C and C++ are the same. The only difference is that one has a richer library of code and applys more modern programming paradigms.