just not "getting" it no matter how hard I study |
Can you elaborate on what you're 'not getting'? What part are you finding you are having difficulties with? At what point are you in your C++ study? How long have you been learning C++? Is C++ your first programming language?
C++ is a large, professional programming language and it's been estimated that it takes 2 - 3 years for someone to become proficient in it. Programming as a concept does require some logical analytical thinking - and has been said above, some just don't think that way. I was 'lucky' I started programming at school when I was 14. I took to it straight away, became the school 'expert' and have been doing it since for 50+ years!
What OS/Compiler are you using? Do you have access to a compiler outside of school? If you're using Windows on your own computer, then MS VS Community is free for personal use.
https://visualstudio.microsoft.com/vs/
Have you written any programs yourself from scratch without being told how to go about it or what to use/not use?
If you're currently working on a program and are having issues, post your code here. We're friendly and helpful and will offer advice and help with posted code.
You say at the beginning that you were excited at the start to learn C++. Why did you want to learn C++ - what was your motivation? Did you have something in mind that you wanted to accomplish using C++?
Looking through some of the code you're already posted for help with, I think part of the problem could be the way you're being taught - with possibly not enough simple explanation of the basics. Learning to program is like learning to run. You have to first learn to stand, then walk etc etc. Same with programming. If you don't 'get' some of the basics you'll struggle. As has been said above, I'd recommend the learncpp.com web site. If you want a book, then I'd suggest Beginning C++20: From Novice to Professional by Ivor Horton.
https://www.amazon.co.uk/Beginning-C-20-Novice-Professional/dp/1484258835/ref=sr_1_3
Also, as said above, programming should be fun - not a chore. Try to enjoy it. Are you also doing some IT course as well that covers how a computer works, networking etc?
Good luck!