help plz find more other way to do

could you guys can help me to find more way to deal with string prompt
my friend work with this case

void Square (void)
{
int Col, Row, InputSize;
InputSize = GetInSize ("Enter an integer size for the shape ");

for(Col = 1; Col <= InputSize; Col++)
{
for(Row = 1; Row <= InputSize; Row++)
cout << "*";
cout << endl;
}
}

how do i can do another way, or look like this

const string SIZE_PROMPT = "Enter an integer size for the shape: ";

thanks a lot
[569 byte] By [daKpRic23] at [2007-11-20 11:34:52]
# 1 Re: help plz find more other way to do
void Square (void)
{
int Col, Row, InputSize;
Printf("Please enter a numer");
cin >> InputSize;

for(Col = 1; Col <= InputSize; Col++)
{
for(Row = 1; Row <= InputSize; Row++)
cout << "*";
}
cout << endl;
}
yoni1993 at 2007-11-10 22:25:02 >
# 2 Re: help plz find more other way to do
i still don't get it
does it look like the same
any other way to make the prompt outside main() like
const string SIZE_PROMPT = "Enter an integer size for the shape: ";
and after that divide into small function but don't even have to put down the prompt again for each one if there has more function
daKpRic23 at 2007-11-10 22:26:02 >
# 3 Re: help plz find more other way to do
what do you mean ?
yoni1993 at 2007-11-10 22:27:00 >
# 4 Re: help plz find more other way to do
Please clarify what do you need? The requirement is vague.
Ajay Vijay at 2007-11-10 22:28:06 >