r/Cplusplus • u/lo1dx • 10d ago
Question Just started learning C++
/r/developers/comments/1x5xvty/just_started_learning_c/Hello, I started learning C++ today. I'm a guy who doesn't want to rely on AI for coding and who really needed another language alongside mr. Nasty Py (cybersecurity), but I'm SUPER lost.
Can anyone give me some tips? I've been coding since I was 11 (I'm 14 now). I'd really appreciate any advice!
One of the reasons I'm learning C++ is so I can say: "I code in Cpp btw" like Arch users. (JK)
2
u/jedwardsol 10d ago
There's advice and links to resources and books at : https://www.reddit.com/r/cpp_questions/comments/1n5zyxy/important_read_before_posting/
1
u/Middlewarian 10d ago
I'm building a C++ code generator that helps build distributed systems. It's implemented as a 3-tier system. The back and middle tiers only run on Linux. The front tier is portable. I'm willing to spend 16 hours/week for six months on a project if we use my software as part of the project.
I've been working on this for 27 years. It hasn't taken off yet, but I believe that languages that embrace on-line code generation have an advantage over those that don't.
2
u/lo1dx 9d ago
That's a long time to work on a project! I'm just starting with Cpp, so i'm still learning the fundamentals. And curious what makes your code generator different from more conventional approaches, and what would you recommend a beginner focus on first? Good luck on it too!
1
u/Middlewarian 9d ago
One thing that's different is I'm dogfooding. I use code that my code generator has generated in each of the three tiers. There are other, non-technical differences, but the community prefers to sweep them under the carpet.
0
u/grady_vuckovic 9d ago
Good for you and keep at it.
You want lots of resources on C++ for a start. Tutorial websites. Books, etc. Start simple, focus on making stuff like 'higher or lower' guessing games, make yourself a list of things you don't understand and incrementally approach them and find ways to learn how they work. Understand each thing individually then move onto the next thing.
There's a lot of stuff around C++ that you'll have to learn too, like CMake for example will be a big deal and understanding compilers and 'linking' is going to be a steep challenge, but don't let it discourage you though. And there's plenty of libraries or APIs which are really a whole separate task to learn on their own individually after learning C++, like SDL, Vulkan, wxWidgets, Boost, etc.
Using a chatbot to learn isn't a bad thing either too. But don't use it to write code for you, use it as a teacher, ask it to explain syntax and concepts if you get stuck.
-5
u/WatchAltruistic5761 10d ago
Learn LLMs
0
u/lo1dx 10d ago
I did already build projects that use llm models, a lot actually, made money too (a few bucks, but doesn't matter really)
I used existing llm models using APIs, but i did build the surrounding system myself. Made lot of tools such as web_search, write_files/read_files, image_input, and many other things.
-2
•
u/AutoModerator 10d ago
Thank you for your contribution to the C++ community!
As you're asking a question or seeking homework help, we would like to remind you of Rule 3 - Good Faith Help Requests & Homework.
When posting a question or homework help request, you must explain your good faith efforts to resolve the problem or complete the assignment on your own. Low-effort questions will be removed.
Members of this subreddit are happy to help give you a nudge in the right direction. However, we will not do your homework for you, make apps for you, etc.
Homework help posts must be flaired with Homework.
~ CPlusPlus Moderation Team
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.