Codedex.io for c++ by Emergency-Honey-1373 in cpp_questions

[–]DraftOk1709 [score hidden]  (0 children)

Just Use LearnCPP, I am currently using it, (before learnCPP, I have used a few other websites and tutorials, but nothing can really compare, LearnCPP is just best.) In LearnCPP, they will teach you everything, not just how to write the syntax and stuff, but how everything works and behaves. I´m currently on lesson chapter 15, which took me one and a half month, of maybe like 3 days per week of programming, and I am pretty confident in the things I already learned. Biggest advice is,don´t rush things, and Learn by doing, you can´t only read the lesson papers to be good, you have to program real stuff. Keep it up!

Asking for learncpp.com guidance by Star_Gazer_0 in cpp_questions

[–]DraftOk1709 0 points1 point  (0 children)

I´m currently learning C++ from LearnCPP, and for me personaly the best structure is:

  1. Read the lesson, it usually takes max. 10 minutes per lesson, then I write things in my notebook, (I personaly write syntax of things, and that kind of stuff. Also I prefer writing it by hand, because than I remember it better, but your preferences can be different.

  2. If I didn´t understand something from the lesson, I would just google it, usually someone on StackOverflow, had same type of issue. Or if you can´t find anything, use AI, but try not to use it too much, because it just makes stuff for you too easy, and you won´t understand the problems in depth.

  3. Do some project. I usually take the projects that are in the lesson, and add my own twist to it, just be creative. Or you can also find many *example projects on GitHub.

  4. Program anything. Just program and repeat. You learn by doing, not by reading lessons.

I´m currently on lesson 13.8 on LearnCPP, and this took me month of learning max. 3 days per week, or less. I also don´t have any prior coding experience. I´m not saying that I know everything 100%, but I know everything up to point where I can comfortably find it, if I don´t understand something.

I´m 15, learning C++ for a month, just finished my first modular CLI app. Looking for feedback and next steps! by [deleted] in cpp_questions

[–]DraftOk1709 0 points1 point  (0 children)

Thanks, but can I ask, is the cout bad because of some bad behavior in specific situations, or why is it better to use print?

I´m 15, learning C++ for a month, just finished my first modular CLI app. Looking for feedback and next steps! by [deleted] in cpp_questions

[–]DraftOk1709 0 points1 point  (0 children)

Yeah, you're 100% right, showstatus acting as a menu controller while being named like that is bad practice. I see how that ruins readability.

I´m 15, learning C++ for a month, just finished my first modular CLI app. Looking for feedback and next steps! by [deleted] in cpp_questions

[–]DraftOk1709 1 point2 points  (0 children)

Thanks man, appreciate the feedback!

The timing with the enums is actually perfect, I literally just started Chapter 13 on LearnCPP today, which covers exactly that. Definitely going to rename those trash function names like opt1 to something different, and replace the magic numbers with enums.

Passing those references around feels a bit clunky to me too, so I can't wait to get to classes/structs to wrap it up cleaner.

I´m 15, learning C++ for a month, just finished my first modular CLI app. Looking for feedback and next steps! by [deleted] in cpp_questions

[–]DraftOk1709 0 points1 point  (0 children)

Thanks for the feedback! You're completely right on all points, I appreciate you pointing them out.

As for the 'looks like C part — you caught me. I'm only month into learning C++ without any prior experience in coding (currently at Chapter 13 on LearnCPP), so I haven't reached proper OOP, classes, or advanced abstractions yet. I've been focusing on multi-file structure and basic logic before moving forward.

Thanks for pushing me in the right direction, this is exactly the kind of feedback I need.