Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in pointers

What are the possible consequences of using unsafe conversion from []byte to string in go?

string pointers go unsafe

What is the intention/benefit of malloc returning type void *?

Assert that a pointer is aligned to some value

Why is it necessary to cast to void** (e.g. in cudaMalloc calls)?

c pointers cuda void-pointers

How to decide whether class attributes should be pointer or value while using composition in C++?

c++ object pointers

Why right-shifting an address by three bits as a hash function for a fixed-size hash table?

c pointers hash hashtable

Solving a "expression must have pointer to class type" error

How to write data at a specific memory location? C++

weak_ptr - Dereferencing - Throw if expired

How Does Getting the Address of a Class Member Through a Scope Resolution Operator Work When Using a Pointer-to-Member?

Why can an array used in fread/fwrite in a position of a buffer be written with or without & and yield the same result?

C++ lifetime of a dangling string

Why is sizeof(msg) shorter than the string?

c pointers

Comparing pointer object equality

c++ c pointers reference

NASM - How to make array of struct pointers and access them

Pass std::string to a function f(**char)

c++ string pointers

Why does the function have to return a char * but not a char array?

c arrays string pointers

How to read 4 bytes of data from a given char pointer in C

c arrays pointers byte cortex-m

How to pass a constant pointer to a method in a class

c++ pointers constants

inconsistent deduction with decltype(auto) when returning pointer or nullptr