Learning of Viru

This is my technical learning

▼

Installing gcc4.8 for C++11 support on ubuntu

›
sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt-get update sudo apt-cache search "g\+\+" sudo apt-get install gcc-...

Polynomial Evaluation Algorithm in C++

›
// P(x) = (Cn * x^n )+ (Cn-1 * x^(n-1)) + .... (C0 * x ^ 0) template&lttypename T&gt T PolyEval(T coeff[], int n, const T& x){...

Algo1 : Greatest Common Devisior

›
EuclidGCD(m,n){     while(n mod m){         r=n mod m;         n=m;         r=n;     }     return m; } upper bound iteration = lo...

Singleton Design Pattern

›
Singleton Design Pattern from sourcemaking.com Our group had a bad habit of using global data, so I did a study group on Singleton. Th...

Adapter Design Pattern

›
Adapter Design Pattern you have old application which have access of some old component like this. Now you introduce new component a...

Proxy Design Pattern

›
Proxy Design Pattern A simplest design pattern just do hiding real object and introduce a placeholder. use case : when you want ...

Bridge Design Pattern

›
 Bridge Design Pattern  Bridge Design Pattern Simple one line design pattern : when do you need to do combinatorial hierarchy of c...
1 comment:
›
Home
View web version
Powered by Blogger.