#include <cstdlib>
#include <iostream>
usingnamespace std;
int main(int argc, char *argv[])
{
char english[] = "This is a test";
char length = strlen(english);//if I change this to a char same output :(
int temp2;
char curnum;
char *temp = strchr(english,' ');
while (temp != NULL){
temp2 = strlen (temp);
temp++;
curnum = temp2 - length;
cout << curnum << endl;
temp = strchr(temp,' ');
}
system("PAUSE"); // not using in final goal ...just for now
return EXIT_SUCCESS;
}