BlackAnt999
Laman
HOME
About Me
Senin, 18 April 2011
convert character to ascii code
#include "iostream.h"
int main(){
int ascii;
char character;
cout<<"Enter character : ";
cin>>character;
ascii=(int)character;
cout<<"\n\nCode ASCII = "<<ascii;
}
0 komentar:
Posting Komentar
Posting Lebih Baru
Posting Lama
Beranda
Langganan:
Posting Komentar (Atom)
0 komentar:
Posting Komentar