H
howa
In 32 bit pc, I can write
e.g.
char* p1 = "apple";
cout<<(int)p1;
In 64 bit pc, I need to use
char* p1 = "apple";
cout<<(__int64)p1;
What are the cross platform way to so?
Thanks.
e.g.
char* p1 = "apple";
cout<<(int)p1;
In 64 bit pc, I need to use
char* p1 = "apple";
cout<<(__int64)p1;
What are the cross platform way to so?
Thanks.