Trying to find the string length,of word_to_guess,wont work,any suggestions???
#include <iostream>
#include <cstdlib>
#include <string>
using namespace std;
int main()
{
int num;
int size;
int num_guess;
string word_to_guess;
string words [10] = {"john","paul", etc}
char exit = 'y';
char guess;
srand((unsigned)time(NULL));
num = rand() % 9 + 0;
word_to_guess = words[num];
size = strlen(word_to_guess);