Follow us on Twitter!
Become the change you seek in the world. - Gandhi
Wednesday, March 04, 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: 30
Guests Online: 23
TeamSpeak Online : 5 Members Online: 7

Registered Members: 87304
Newest Member: Madscientist
Latest Articles
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