I was new to C++. I trying to convert a string(example : hello) into ASCII value. I tried to use putchar(0, but it only work for one character.
if I want to declare the char string become char string, then what are the following steps should I take??? Thank you for your time.
# include <iostream.h>
# include <string.h>
# include <stdio.h>
cout<<"Enter a string : ";
cout<<"The string you entered is "<<string<<endl;
cout<<"The ASCII value for that string is "<<putchar(string);