search for: max_po

Displaying 2 results from an estimated 2 matches for "max_po".

Did you mean: max_pos
2006 Dec 05
2
intro + specification remarks + some questions
...] of the greatest > value scalar element for which n is less than [x] and vector [v] > element n is less than vector [v] element [x]. I'm thoroughly confused by this definition... Does this mean: A) for (n=x-1; n>=0; n--) if (v[n]<v[x]) return n; B) low_neighbor(v, x) { max_pos = 0; for (n=0...x-1) if (v[n] < v[x]) if (v[n] >= v[max_pos]) max_pos = n; return max_pos; } In case of A), perhaps the specs should be rewritten for clarity, and some pseudocode could be added... In case of B), doesn't this mean that,...
2003 Oct 16
2
A view quirks
...ayers of [_oi]streams and callback and function pointer structs do not help :) I think the stream routines hide the mstream(istream(realstream(iostream))) and the ostream(_ostream(iostream)) behind the same file descriptor and the data gets written to the wrong position. BTW: what exactly is "max_pos"? Greetings and thanks! Andy