Click to See Complete Forum and Search --> : ASC?
Technocrat
Oct 19th, 2000, 04:40 PM
Is there an asc function in VC++?
Technocrat
Oct 19th, 2000, 06:37 PM
Nevermind VC does it by itself
char tmp;
int inttemp;
tmp = 'h';
inttemp = tmp;
inttemp would = 104
parksie
Oct 20th, 2000, 12:25 PM
Check this:
char *pcStr = "Hello World";
char *p;
for(p = pcStr; *p; p++)
cout << (int)p << " : " << p[0] << endl;
...to dump a string.
Technocrat
Oct 20th, 2000, 12:27 PM
Hmm thanks that works to.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.