Struggling learning C++

I've started trying to learn C++ a few days ago and I'm having trouble picking up on a lot of things. I have no experience with coding and I'm just wondering if this is normal? I've been reading the tutorial all the way up to Variables and types and I don't recognize half of the the things the tutorial is trying to tell me and it's all just really overwhelming and frustrating. The tutorial didn't really say what kind of skills or things I need to know before trying to learn C++. I think I've gotten Compilers and Structure of program atleast slightly down but as soon as Identifiers were introduced from there on I've been just getting a huge headache and not retaining much information.

Does anyone know any tips/tricks or advice that could maybe help me learn better?
better?
Last edited on
There are some tips:
- If you don't understand a word, look it up elsewhere, right away.
- Practice everything you learn by writing your own small programs.
- Don't give up.

"Identifier" is just a fancy word for "name".
If you have had no experience programming, then I would strongly recommend writing and running the code examples. Experiment and play around with the examples and everything will eventually come clear. If you are having difficulty learning C++, then you might want to consider an easier language like Ruby. If you are using the tutorial on this website, then you might also want to take a tutorial that moves more slowly(Beginning Programming With C++ for Dummies, for example) as the one on this website moves rather quickly. Anyway, don't give up, things will become clear soon.
to add to the information above i would recommend these sources:

thenewboston: https://www.youtube.com/watch?v=tvC1WCdV1XU (provides great explanation with example)

NVitanovic: https://www.youtube.com/watch?v=w49C3SdXshU (provides great explanation + some great projects that he makes step by step and will improve your coding skills pretty fast)

use sites like:
-this one obviously :)
-stack overflow
to ask specific questions and:
- http://www.learncpp.com/ if you want a more in depth explanation than this site provides in the tutorial + exercises after every chapter
- http://www.stroustrup.com/bs_faq2.html to pick up a good coding style and understand how to organise your code

personal tips:
-make sure you fully understand polymorphism ( more advanced topic)
-make sure you master pointers
-make sure you understand classes inheritance friends and virtual (more advanced)
-i will say polymorphism again as the language is designed around the use of it.

NOTE:dont restrict yourself to the sites i pointed above if you find something that is more understandable for you than by all means use it
closed account (48T7M4Gy)
http://www.cplusplus.com/doc/
https://www3.ntu.edu.sg/home/ehchua/programming/cpp/cp0_Introduction.html
> I'm having trouble picking up on a lot of things.
> I have no experience with coding and I'm just wondering if this is normal?

Yes.

Get a good introductory text book.
For instance, 'Programming: Principles and Practice Using C++, 2nd Ed.; by Stroustrup
http://www.stroustrup.com/programming.html
C++ is not really a beginner language. The learning curve is a little tougher.
So yes it's normal, but don't give up, once you can program in C you can program most anything by learning the syntax changes.
Chances are your book is higher level than beginner.
Either stick with the book and find some help online with questions you have or find a easier book if your thinking of giving up.
Personally I'd use the library for several book choices and check out sites like this online.
Getting a good introductory textbook is important in my opinion.

Most textbooks should have "Programming exercises" at the end of each chapter. Make sure you try to do all the exercises before moving to the next chapter. You can also go to HackerRank and knock out basic C++ challenges.

If you have any questions, you can ask here.
Calliope. I can relate to you. I am now learning classes, dynamic memory, etc. It was hard for me at first. I started a month ago and see I'm already this far!!! I got the rest down pretty darn good. But cplusplus.com is mostly a reference site. Learncpp.com or tutorialspoint.com has C++ tutorials more aimed towards beginners. I wish I used them instead of here because those sites tell you more in an easy way. Anyway I think it would've been quicker if I used those sites. Variables just store memory!! Like int, char, float, etc. Private Message me for more help!!! :) It's a good feeling knowing enough to help people in C++!
Thank you all for your responses! <3 I will check out and try everything you guys have suggested.
One last thing. Make more complex programmes by remaking old ones.
Topic archived. No new replies allowed.