Advanced programing

to learn how to use the AVR functions.

What AVR functions are you referring to?

So i tried to give a look at some files of the Arduino IDE, but i could barely understand something.

I don't think you are ready, then, to move beyond using C/C++ to program the Arduino. When the stuff that confuses you now makes sense, you will be ready.