I would say if you truly have little aptitude it might be difficult but perhaps not impossible. I used to tutor a lot of students and I have known several that can't program at all no matter how hard they try. Then there are those with a modicum of aptitude, and those those to whom everything seems to come naturally.
One thing I learned is at least early on is you can't consider programming like art, where you can kind of paint your code into the computer. Some people seem to have this misconception, and have issues with the sequential execution of code. There is a saying "you can't see the forest for the trees". When you start out this saying doesn't apply. Look at the trees, every bush and every shrub in detail. It's good practice early on to run your code in your head. Draw boxes on a notepad if you need to that represent variables and go through each line and try to do what the computer does, changing values as you go. I used to do this all the time. Attention to detail is very important in programming given that your whole progam may crash because of one wrong line of code.
Also why do you think you have little aptitude? You might be right but It also may be you are learning the wrong way.
1 hour ago, Khairul90 said:
I am learning c++ so that I would be able to use the Unreal engine in the future. I would also love to be able to work on graphics programming(opengl, direct x).
I wouldn't start out with C++, I would start with C. A lot of folks will give you vastly different opinions on this. My reasoning is that C gives you a low level understanding of how computers work and everything you learn doing C is usefully when you get to C++. I find that sometimes people who start with higher level languages never really catch on about the basic way computers work, although certainly many do. Starting with C++ and a high level game engine or OpenGL or DirectX, is like sink or swim especially if you're worried about your ability. Try to ease into it. Write console programs (text based) first and then perhaps use a higher level graphics library at some point when you've gained a certain level of mastery. Take things in steps.