This is sort of a dumb question but, how do you use a for loop to iterate through strings to display them in a console?
for (int w = 0; w < (int)strlen(mystring); w++)
{
printf("%c", mystring[w]);
}
for (int w = 0; w < (int)mystring.length(); w++)
{
std::cout <<mystring[w];
}