Quote Originally Posted by SlyMaelstrom
Code:
std::string word = "hello";
int asciiWord[word.size()];

for(int i = 0; i < word.size(); i++)
   asciiWord[i] = (int)word[i];

for(int i = 0; i < word.size(); i++)
   std::cout << asciiWord[i] << ' ';
I think your milk has spoiled.