Follow us on Twitter!
Few are those who can see with their own eyes and hear with their own hearts. - Albert Einstein
Tuesday, March 31, 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: 19
Guests Online: 18
TeamSpeak Online : 5 Members Online: 1

Registered Members: 87705
Newest Member: francheska
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