User profile: Galik

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

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...

This program is going to kill me...
If your program was deleted then you'll just have to start again. Having gone through it once you sh...

Badly placed ()'s
Try this: [code] #include <iostream> #include <string> #include <sys/types.h> // certain libraries i...