try this. (in C++, always initialize your variables with some value, don't leave them hanging.)
int main()
{
int limit = 0;
cout<<"the perfect squares are bettween 1-______?\n";
cin>>limit;
cout<<"1-"<<limit<<endl; //<------line i am trying to put in
int square = 0;
for(int number = 1 ; square < limit ; number++)
{
square=number * number;
cout<<square<<"-";
}
}