for example,
#include <iostream>
#include <string>
int main ()
{
int count;
std::cout << "How many things do you hear?";
std::cin >> count;
heard std::string[count];
for (int i = 0; i < count; i++)
{
std::cout << "Enter what you hear: ";
std::cin << heard[i];
if (**//heard[i] letter count > 100**) //How could I make this happen
{
cout << "Too many letters try again: ";
}
}
P.S. I know it's a really stupid example, but thank you in advance!