The methodically important bifurcation – Bogdanov–Takens bifurcation – is discussed. For the primary model its bifurcations and evolution of phase portraits are described. The examples of nonlinear systems with such bifurcation are presented. The method of discrete models of construction that is founded on semiexplicit Euler scheme is discussed. On the base of the continuous prototype the discrete model of Bogdanov–Takens oscillator is constructed.