Follow us on Twitter!
Don't judge the unknown - Grindordie
Saturday, April 25, 2015
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 28
Guests Online: 27
TeamSpeak Online : 5 Members Online: 1

Registered Members: 88046
Newest Member: iqbal
Latest Articles
Our sponsor needs your help!


One of our sponsors needs your help, http://www.virginmediabusiness.co.uk/pitch-to-rich/grow/krystal-hosting/
Go check out their video and Don't forget to vote !


~ Thanks for your help
HBH
View Thread

HellBound Hackers | Computer General | Programming

Author

c++ char to ascii


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 04-11-06 01:31
i need to change a char to a ascii value dec i am writing an encryption program is there ne way to do this ...


Author

RE: c++ char to ascii


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 04-11-06 01:43
Code

#include <iostream>

int main(int argc, char **argv)
{
char myChar = 'A';
std::cout << static_cast<int>(myChar) << std::endl;
return 0;
}





<3 ~T

Edited by on 04-11-06 01:48