+ 1

Is there a difference between C and C++. I found C/C++ in so many places. Are they basically the same think?

30th Dec 2019, 4:37 PM
Andrei I
Andrei I - avatar
10 Réponses
+ 1
basically Yes, there are some differences. what are you lost in?
30th Dec 2019, 4:38 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
OOP is missing in C, and is present in C++. That’s the most obvious thing.
31st Dec 2019, 6:58 PM
Michael David
Michael David - avatar
+ 1
Besides what Michael David said, C also doesn’t have a string variable. Instead, a character array needs to be declared. Furthermore, C’s uses scan_f, whereas C++ uses cin (std::cin if you’re not using namespace std).
1st Jan 2020, 3:17 AM
An Average Joe
An Average Joe - avatar
0
Most of the C++ starts just where C ends.
30th Dec 2019, 4:41 PM
Avinesh
Avinesh - avatar
0
No i'm not lost. I'm fine. I was just curious cause i never found any difference
30th Dec 2019, 5:16 PM
Andrei I
Andrei I - avatar
0
there is a difference, I can show it to you. you will be able to understand the differences?
30th Dec 2019, 5:24 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
i don't know
30th Dec 2019, 5:25 PM
Andrei I
Andrei I - avatar
0
Hola bueno gracias
31st Dec 2019, 5:11 PM
Carlos javier Rodríguez
0
The concept of the classes and oops does not exist in C
1st Jan 2020, 8:02 AM
spark
spark - avatar