About 1,470,000 results
Open links in new tab
  1. What's the difference between C and C++ - Stack Overflow

    Mar 13, 2009 · Check out Stroustrup's FAQ here, specifically: What is the difference between C and C++? C++ is a direct descendant of C that retains almost all of C as a subset. C++ …

  2. What are the major differences between C and C++ and when …

    Jan 22, 2009 · C++ is 99% a superset of C. It's a little more strict in syntax, with a few very minute differences in terms of things changing. The biggest difference is that C++ makes an attempt …

  3. What are the differences between C, C# and C++ in terms of real …

    Mar 28, 2009 · C is the most widely-supported, then C++, and finally C# (although C# can be used on most major platforms thanks to an open source implementation called Mono). My …

  4. c++ - What is the difference between float and double? - Stack …

    Dec 31, 2021 · I've read about the difference between double precision and single precision. However, in most cases, float and double seem to be interchangeable, i.e. using one or the …

  5. What are the differences between struct and class in C++?

    184 Quoting The C++ FAQ, [7.8] What's the difference between the keywords struct and class? The members and base classes of a struct are public by default, while in class, they default to …

  6. 'printf' vs. 'cout' in C++ - Stack Overflow

    May 20, 2010 · Nowadays std::print introduced in C++23 is preferred to both, but in case you are looking for differences between those old printing methods, I included a comparison of those. …

  7. C/C++ Struct vs Class - Stack Overflow

    In C++, structs and classes are pretty much the same; the only difference is that where access modifiers (for member variables, methods, and base classes) in classes default to private, …

  8. c++ - What are the differences between a pointer variable and a ...

    554 What's a C++ reference (for C programmers) A reference can be thought of as a constant pointer (not to be confused with a pointer to a constant value!) with automatic indirection, ie …

  9. How different is Objective-C from C++? - Stack Overflow

    Like C++, Objective-C has both structs and classes. However, where in C++ they are treated as almost exactly the same, in Objective-C they are treated wildly differently - you can create …

  10. What is the difference between "VC++" and "C++"?

    Oct 13, 2008 · 7 Well, Visual C++ used to stand for the Microsoft C++ compiler plus the MFC library. Basically there's no difference in the language itself, but VC++ includes a library, and …