+ 4

Including a C snippet in C++ code

What would you use?

28th Jan 2019, 9:53 PM
Paolo De Nictolis
Paolo De Nictolis - avatar
5 Answers
+ 5
C language is C++ without all its pluses 😁 - I love this language for that.
19th Jan 2020, 10:19 PM
Michail Getmanskiy
Michail Getmanskiy - avatar
+ 3
What do you mean by "snippet"? You can code in the C language using a C++ compiler, if that's what you're asking.
29th Jan 2019, 4:15 AM
Zeke Williams
Zeke Williams - avatar
+ 3
Zeke Williams really ? :o are _Generics, _Bool and functionalities of C99 and C11 comprehended by C++ compilers as they are not functionalities of C++ ? If it is true, it is a nice thing to know !
30th Jan 2019, 1:18 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 3
I don't know actually Baptiste E. Prunier . I just know that, for the most part, you can code using C and many C functions in a C++ environment
30th Jan 2019, 2:00 PM
Zeke Williams
Zeke Williams - avatar
+ 2
C and C++ are backward compatible for the most part.
29th Jan 2019, 4:18 PM
jay