When I put any sentence say "Hello my name is bob." When using the stdlen in a manner such as
1 2 3 4
cout << "Please insert sentence";
cin >> sentence;
nums[0] = strlen(sentence);
//where sentence is a char array //
it stops detecting after Hello. The reason being I am guessing after the 'o' there is a /0 signifying a void and thus the means to terminate the scan. So how does one count the character of the entire sentence including the spaces?