User profile: melkiy

User info
User name:melkiy
History
Joined:
Number of posts:131
Latest posts:

Assignment operator overloading trouble
I see two potentially dangerous things in your code. 1) Are you sure that you delete correctly al...

how to get end of the line
Read next line and try to read its content as a number. If you succeed then the line is numerical (o...

Binary Tree Printing (Heap Sort)
Heap sort is: 1) To make a heap from a set of elements. You do this in FillArray when you add a new...

Different output for same expression
[quote]x= a + a++; [/quote] The order in which compiler estimates operands is undefined, as far ...

1%2 - Modulus Question
[b]a[/b]%[b]b[/b] behaves like follows (i consider [b]a[/b] and [b]b[/b] to be greater than 0) : ...