Functions - C++

Hello Everybody, i struggle with doing problems with functions, or even the most normal problems with recursion, i see that u need to use functions in almost every problem, i can do problems for 1200 rating, but i would like to, learn them, if someone knows a site where i can do that, or i should just force it in my problems, or it is intuitive, thank you so much.