3 ms·
I agree. Simply put, it would sense to provide #define CharPointer char* and then declare char c = 'a'; CharCointer p = &c; To me this became c
by cessor 10y ago
I agree.
Simply put, it would sense to provide
#define CharPointer char*
and then declare
char c = 'a';
CharCointer p = &c;
To me this became clear when I did some C# interop, where IntPtr is a common class, such as:
[DllImport("user32.dll")]
static extern IntPtr CallWindowProc(WndProcDelegate lpPrevWndFunc, IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam);
It's just an object oriented pointer interface. It looks different. I agree:
> It has different size and behavior.