Hi, I found this code online that basically couts a string's characters one by one.
I'm having some problems on making it a class where I just set the string and keep the "Typewriting" effect so that I don't have to re-write it all over again whenever I use it.
1 2 3 4 5 6 7 8 9 10 11
int main()
{
string hello = "Phrase";
int x=0;
while ( hello[x] != '\0')
{
cout << hello[x];
Sleep(500);
x++;
};
}