Title |
User |
Message |
Date Posted |
Re: In the third example.... |
bleung91 |
you pick the combination of ingredients that gives you the minimum difference. to fidn the total sourness, you multiply all ingredients and total bitterness, you add all ingredients. so if I have 10... |
Dec 29, 2008 - 4:57:25 am UTC |
In the third example.... |
purohit3105 |
Why in the third example we only chose the last three? I don't get it. |
Dec 29, 2008 - 4:20:05 am UTC |
Re: Re: Re: Re: Compile Error |
bbi5291 |
It works on Visual C++ 6.0 because min is not defined there. |
Dec 11, 2008 - 3:25:50 am UTC |
Re: Re: Re: Compile Error |
hansonw1 |
min is a function, so you can't call a variable the same thing. (Sometimes it works, and sometimes it doesn't - I don't know why) |
Dec 11, 2008 - 1:56:15 am UTC |
Re: Re: Compile Error |
Amarvir |
It is very long, i don't really understand but here it is : In function 'void core(int, int, int)': :15: error: reference to 'min' is ambiguous :5: error: candidates are: long int min /usr/include/c++... |
Dec 11, 2008 - 1:20:48 am UTC |
Re: Compile Error |
Saravannan |
Which compile error is it? |
Dec 11, 2008 - 12:43:50 am UTC |
Compile Error |
Amarvir |
Can someone tell me what the problem is? My program definitely compiles on my computer and I have no idea why it doesn't here |
Dec 10, 2008 - 11:59:07 pm UTC |