cout<<ASCII ?
An easy question i am embarrassed to ask. I would like to output ascii characters in console mode. If anyone could refresh my memory on how to do this i would be extremely grateful, Thanks.
i suppose you mean something like this:
cout <<"your messgage here" <
[edited by - Spudder on January 11, 2003 11:32:47 AM]
[edited by - Spudder on January 11, 2003 11:33:05 AM]
cout <<"your messgage here" <
[edited by - Spudder on January 11, 2003 11:32:47 AM]
[edited by - Spudder on January 11, 2003 11:33:05 AM]
Sorry no, I mean if you look through an ASCII chart there are smiley faces and other such usefull symbols.
Try this:
[edited by - baumep on January 11, 2003 11:43:38 AM]
for( int ascii = 0; ascii < 256; ascii++ ){ std::cout << (char)ascii << std::endl;}
[edited by - baumep on January 11, 2003 11:43:38 AM]
baumep
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement