Thanks!!!
Type: Posts; User: Cobs
Thanks!!!
sorry I added this line after...( tried to find solution , but forgot to wrote that line like it was in original file )
in original file it is:
friend razlomak operator+( int, const razlomak& );...
razlomak + int should work because int should implicitly convert into razlomak. And that works fine without all this operators of comparison... ( just include iostream, use std, and erase using...
i have a little problem and i cant figure it out.
here is a piece of code:
...
struct razlomak {
int brojnik, nazivnik;
in line 42 put
++i
instead
i+1
*stablo solves it.( wondering why i didnt saw that mistake )
( I did the allocation in MAKE_NULL function ). Thanks
<<< split from http://cboard.cprogramming.com/cplusplus-programming/117097-may-due-corruption-heap.html >>>
READ THE RULES
i have the same problem on visual studio 2010. Here is the code:
...