@Althar I guess that's the truth really. I am not trying anything complex either the thing is i am trying to do very simple things so i get used to things and i have no shame in doing simple things because how can you make a complex program if you can't even make simple programs? I also don't copy and paste because it a very bad practice unless you know the code and you re-write it so i don't copy and paste most of my code.
I just felt very overwhelmed and lost when i came across SFML and the game development book was not explaining some game programming concepts well enough for me.
The first project in that book was to make a sprite just move left and right on the screen with no collision detection which i thought should've been understandable but was quite complicated and cryptic for me.
I also don't learn much from most tutorials, some of them are helpful but most are meh to me, i prefer fully fledged books which have a good amount of explanation although there are some books which are full of fluff and take time to get to the point and there are some which are not well explained enough and cryptic but most of the books i get are straightforward (C++ Primer 5th edition) and help me learn better.
@Endemoniada I tried to use Unity 3D to make a simple 2D platformer but i couldn't because back then i didn't understand programming enough and yeah i want to make 2D game first after several simple C++ and SMFL projects.
And just for the record i am not trying to make a full blown 2D action game yet, i am trying to to do simple projects like making a shape pop up on the screen and make it move left and right. Just wanted to point that out but yeah i guess you guys are correct and that is that i should just get stuff on the screen and do simple things and i would eventually get the concepts after a while. Thanks for the advice guys :)