About 106,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 the "::" mean in C++? - Stack Overflow

    Sep 9, 2023 · In C++ the :: is called the Scope Resolution Operator. It makes it clear to which namespace or class a symbol belongs.

  3. stl - C++ Double Address Operator? (&&) - Stack Overflow

    362 && is new in C++11. int&& a means "a" is an r-value reference. && is normally only used to declare a parameter of a function. And it only takes a r-value expression. If you don't know …

  4. pointers - Meaning of *& and **& in C++ - Stack Overflow

    Typically, you can read the declaration of the variable from right to left. Therefore in the case of int *ptr; , it means that you have a Pointer * to an Integer variable int. Also when it's declared int …

  5. c++ faq - When do I use a dot, arrow, or double colon to refer to ...

    Feb 13, 2011 · The three distinct operators C++ uses to access the members of a class or class object, namely the double colon ::, the dot ., and the arrow ->, are used for three different …

  6. c++ - What is the difference between "++" and - Stack Overflow

    Oct 20, 2012 · @leftaroundabout: Integers and iterators have nothing to do with one another. We aren't talking about pointers here (and the proper generalization of i += 1 would be …

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

    From what I've learned, auto has always been a weird storage class specifier that didn't serve any purpose. However, I've tried what auto does, and it assumes the type of whatever I happen to …

  8. How can I get current time and date in C++? - Stack Overflow

    C++ inherits the structs and functions for date and time manipulation from C, along with a couple of date/time input and output functions that take into account localization.

  9. c++ - How can I trim a std::string? - Stack Overflow

    10 With C++11 also came a regular expression module, which of course can be used to trim leading or trailing spaces. Maybe something like this:

  10. Variable number of arguments in C++? - Stack Overflow

    In C++11 there is a way to do variable argument templates which lead to a really elegant and type safe way to have variable argument functions. Bjarne himself gives a nice example of printf …