About 8,910,000 results
Open links in new tab
  1. What does the "->" operator mean in C++? - Stack Overflow

    Feb 12, 2012 · Could someone explain to me what the "->" means in C++? Examples if you can, they help me understand better. Thanks.

  2. What does '&' do in a C++ declaration? - Stack Overflow

    So generally, if you want to use an output parameter (or a pointer/reference in general) in a C++ function, and passing a null value to that parameter should be allowed, then use a pointer (or …

  3. What does the question mark character ('?') mean in C++?

    What does the question mark character ('?') mean in C++? Asked 16 years, 8 months ago Modified 3 years, 11 months ago Viewed 354k times

  4. What does the |= operator mean in C++? - Stack Overflow

    Nov 18, 2010 · What does the |= operator mean in C++?It is a bitwise OR compound assignment. In the same way as you can write x += y to mean x = x + y you can write x |= y to mean x = x | …

  5. How can I convert int to string in C++? - Stack Overflow

    C++11 introduces std::stoi (and variants for each numeric type) and std::to_string, the counterparts of the C atoi and itoa but expressed in term of std::string.

  6. c++ - How does the comma operator work, and what precedence …

    Sep 10, 2008 · 140 Take care to notice that the comma operator may be overloaded in C++. The actual behaviour may thus be very different from the one expected. As an example, …

  7. Explanation of [[nodiscard]] in C++17 - Stack Overflow

    Jun 16, 2023 · class Test { public: [[nodiscard]] int f(int a, int b) const { return a + b; } } The explanation is Adds [ [nodiscard]] attributes (introduced in C++17) to member functions in …

  8. The Definitive C++ Book Guide and List - Stack Overflow

    The C++ Super-FAQ (Marshall Cline, Bjarne Stroustrup, and others) is an effort by the Standard C++ Foundation to unify the C++ FAQs previously maintained individually by Marshall Cline …

  9. c++ - What is the meaning of the auto keyword? - Stack Overflow

    Until C++11, auto had the semantic of a storage duration specifier. Mixing auto variables and functions in one declaration, as in auto f() -> int, i = 0; is not allowed.

  10. How to install Visual C++ Build tools? - Stack Overflow

    Nov 9, 2016 · I need to install Visual C++ Build Tools. When I've download installer, I've tried to install it, however it's telling me I need to uninstall VS 2015! How can I solve it? Why is Visual …