Ongeveer 48.500.000 resultaten
Koppelingen in nieuw tabblad openen
  1. How do pointer-to-pointers work in C? (and when might you use them?)

    A pointer-to-a-pointer is used when a reference to a pointer is required. For example, when you wish to modify the value (address pointed to) of a pointer variable declared in a calling function's scope inside …

  2. Cursor disappearing inside text field - Stack Overflow

    11 aug. 2024 · I'm encountering an unusual issue on Windows 10 and Windows 11 PCs where my mouse cursor disappears within any text field—whether on websites, in search bars, or similar fields in …

  3. Double pointer C/C++ - Stack Overflow

    18 jul. 2022 · "Double pointer" is just a pointer to a pointer. Carefully go through each & and * and see what the result/type is and what it refers to. – Eugene Sh.

  4. c - Constant pointer vs Pointer to constant - Stack Overflow

    31 jan. 2014 · A constant pointer is declared as : int *const ptr ( the location of 'const' make the pointer 'ptr' as constant pointer) 2) Pointer to Constant : These type of pointers are the one which cannot …

  5. How do function pointers in C work? - Stack Overflow

    returning [pointer to [function taking [char] returning [int]]] As you see, one can describe a type completely by appending declarators one after each other. Construction can be done in two ways. …

  6. What exactly is meant by "dereferencing a NULL pointer"?

    A pointer references a location in memory, and obtaining the value at the location a pointer refers to is known as dereferencing the pointer. Dereferencing is done by applying the unary * operator on the …

  7. c++ - What is the 'this' pointer? - Stack Overflow

    All non-static methods have an implicit this pointer. In typical C++ implementations, it is passed in the first integer argument slot.

  8. Why use double indirection? or Why use pointers to pointers?

    When should a double indirection be used in C? Can anyone explain with a example? What I know is that a double indirection is a pointer to a pointer. Why would I need a pointer to a pointer?

  9. How can I create a pointer to a member function and call it?

    How do I obtain a function pointer for a class member function, and later call that member function with a specific object? It's easiest to start with a typedef.

  10. How to increment a pointer address and pointer's value?

    How to increment a pointer address and pointer's value? Asked 14 years, 1 month ago Modified 2 years, 4 months ago Viewed 383k times