i'd like to say you are a God, it worked man!!!! thanks so much!!
any help with the other functions in that program ?
i'd like to say you are a God, it worked man!!!! thanks so much!!
any help with the other functions in that program ?
//Finds the highest out of order flat element from the top FlatElement
int Pile::Hooofe (const FlatElement&)
{
int test = 0;
for(int p=0;p<store[test];p++)
{
for(int j=0; j < COIN_COUNT; j++)
{
if (store[p].relativeSize > store[value].relativeSize)
store[value].relativeSize = p;
}
}
how does this look? it gives errors out the wazoo....it says that local function definitions are illegal? makes no sense?
the function is to find the highest out of order element in the pile. what argument should it take?