|
From: Steele B. <ba...@wx...> - 2002-11-18 07:20:44
|
Hi all
I am looking for a structure to put into a probgram I am writing to =
calculate the materials needed for a roof. I need a structure that will =
generate the variables needed based on an input (int) from the user. =
Something like this:
cout << "plese enter the number of sheetlengths needed" <<endl
cin >> number
incrementer =3D 0
while (incrementer < number)
{
int variable(incrementer)
int variable(incrementer)
incrementer ++
}
So I need variables that are numbered sequencially so I can get the user =
to input them.
Any other ways of tackling this problem would be helpful too.
Thanks all
Steele Baldock
ba...@wx...
|