DO HARDWORK, SMARTLY | KEEP PATIENCE
Pages
Home
About Me
Hope....
Sunday, March 8, 2009
C++ program
// Transform a string into ASCII code
#include"iostream.h"
void main()
{
char a[32];
int x = 0;
cout << " enter the word \n";
cin >> a;
cout << "The ASCII for this word is:\n"; while (word[x] != '\0') { cout <<>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment