User profile: Galik

User info
User name:Galik
Name:Galik
Statistical data
Skills:C
PHP
C++
Java
History
Joined:
Number of posts:2245
Latest posts:

Binary file - eof() stops too early
Looping on [code]eof()[/code] is almost always the wrong thing to do. This is because an error is no...

Waiting for multiple events in Unix C++
Why not populate an event queue with event objects and use the condition variable to signal the thre...

Dynamic Memory(Smart Pointers)
Here is my 2p [quote]1.)Should a programmer always use smart pointers?[/quote] Not always. Think ...

How to retain fraction form, not decimal of division
You might want to consider a library created for this kind of numerical work: https://gmplib.org/ ...

Pass by const copy
You can declare your functions without using const and put const qualifiers in the function implemen...