|
-
Oct 19th, 2000, 04:40 PM
#1
Thread Starter
Frenzied Member
Is there an asc function in VC++?
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com

-
Oct 19th, 2000, 06:37 PM
#2
Thread Starter
Frenzied Member
Nevermind VC does it by itself
char tmp;
int inttemp;
tmp = 'h';
inttemp = tmp;
inttemp would = 104
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com

-
Oct 20th, 2000, 12:25 PM
#3
Monday Morning Lunatic
Check this:
Code:
char *pcStr = "Hello World";
char *p;
for(p = pcStr; *p; p++)
cout << (int)p << " : " << p[0] << endl;
...to dump a string.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Oct 20th, 2000, 12:27 PM
#4
Thread Starter
Frenzied Member
Hmm thanks that works to.
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|