Option pricing in C++

How to calculate option pricing with difference finite method, Monte Carlo, and Analytical formula way.