How to intialize a pointer variable ?
C / C++ / MFC
5
Posts
5
Posters
0
Views
1
Watching
-
What exactly do you mean? You can initialize a pointer using the keyword
new
, or you can set it to point at some already allocated memory. -
void* pVoid = NULL; char* pChar = NULL; int* pInt = NULL; ...
---- Scripts i’ve known... CPhog 1.8.2 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.2 - printer-friendly forums Expand all 1.0 - Expand all messages In-place Delete 1.0 - AJAX-style post delete Syntax 0.1 - Syntax highlighting for code blocks in the forums
-
-
Can you be more specific.
WhiteSky