#include <iostream>
using namespace std;

int counter, limit, n, i; //where and what are these?
char** words; //and where and what is this?

int selectlength()
{
 int length;
 bool shorter(false),longer(false); 

 cout <<"length of word"<<endl;
 cin.get(length,)

 limit=counter;
 counter=0;

 for (i=0;i<limit;i++){

    for (n=0;n!=length;n++){
        if (words[i][n]=='\0')
        {
            shorter=true;
            break;
        }
    }

    if (words[i][length+1] != '\0')
    {
        longer=true;
    }

    if (longer==true || shorter==true)
    {
        i--;
    }
}
    return 0;
}