i tried to convert the string to ASCII but couldn't convert the ASCII to hex
#include <stream>
#include <string>
using namespace std;
int main()
{
    string x="hello";
    string x_as_cii[10];
  for(int i=0;i<x.length();i++)
  {
      x_as_cii[i]= int(x[i]);
      cout<<x_as_cii[i]<<endl;
   }
return 0;
}
 
    