#Learning C++

31 messages · Page 1 of 1 (latest)

grim vesselBOT
#

When your question is answered use !solved or the button below to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

faint garnet
#

I think I'm going to create a project involving file manipulation. While helping a colleague, I saw he was working on this project, even though he didn't understand some of the language's concepts. I think I'll just dive in and do it, based on research, and when I'm not working on the project I'll continue reading about the language. Just an idea, please feel free to offer tips, they will be very helpful.

#

Learning C++

stuck wasp
#

im kind of in the same boat except im on chapter 26 (or 27 , not sure) , the one with templates

#

i want to make something but then i feel like i cant make it well without knowing everything

#

and i know the advice people give is "just do it "

but honestly if i start doing it , my brain kind of goes "what teh fuck is this , what if the way you are doing it is really bad or like this is really unnecessary waste of time"

faint garnet
# stuck wasp and i know the advice people give is "just do it " but honestly if i start doi...

Okay, let's wait for someone to respond to get some tips, but I've already started planning a mini to-do list project and I'll start programming after I eat. I've already made a tic-tac-toe game. Have you done any projects? I'm going to make this to-do list because it involves file manipulation, even without having studied the subject. I'm going to create a system to save the tasks in a text file; I think it's a valid approach for my current situation. It's something that "challenges" me.

#

C++ is complex and has many features; it's impossible to learn everything, although it's possible, but the point isn't to become a C++ guru. I saw a video of a guy saying he can write a Minecraft clone but can't implement a bug-free vector because C++ templates are too complex.

stuck wasp
# faint garnet Okay, let's wait for someone to respond to get some tips, but I've already start...

i havent really done much in terms of projects , except the ones learncpp already has

I dont have a planned project going on currently either , im trying to make a notepad clone with dearimgui , as of right now , i have gotten some buttons and text area and typing working , im probably gonna work on it more.

After im done with learncpp , i have one other project idea in mind , which is making my own version of shell commands . Like , ⁨⁨ls⁩⁩ or ⁨⁨cd⁩⁩ or stuff like that

other than that, i dont know what i would want to make , maybe a clone of containers in STL ? not very precise with allocators exceptions and stuff , but more like " behaves like vector" or stuff like that . Focusing on making it use smart pointers and all

faint garnet
# stuck wasp i havent really done much in terms of projects , except the ones learncpp alread...

I think the point is to create something at your current level, but that challenges you, and then gradually increase the level of the project. For example, try creating something that manipulates files. You can use imgui to write and read this file. I haven't worked with libraries yet, but I compiled an imgui to see this graphical interface at least a little, after a few months of using the terminal.

#

When I finish the learncpp course, I plan to study back-end development to create web applications with C++. The cool thing is that you can use HTTP in your desktop projects, so the front-end doesn't necessarily have to be web-based.

#

Many developers program in C++ with a style similar to C, avoiding unnecessary complexity; I think that's the goal. Anyway, I'm going to eat something, but I'm also going to work on some project. I made a tic-tac-toe game; after eating I'll start my to-do list.

#

I'll send you the Tic-Tac-Toe if you want to take a look. I made it with everything I learned at LearnCPP. Anyway, I talk too much, haha.

stuck wasp
faint garnet
# stuck wasp oooh i do want to make a discord both with C++ at some point

That's pretty cool, the video I sent above helped me a bit; it talks about the complexity of implementing a vector, but manages to implement a Minecraft clone. In this video by The Cherno, he renders content from a web API in an Imgui application; it's quite similar.

https://www.youtube.com/watch?v=RzdM54i7buY

Check out Hostinger's BLACK FRIDAY SALE NOW ON for all your web hosting and server needs! Use coupon code CHERNO to get an additional 10% discount ► https://hostinger.com/cherno

Patreon ► https://patreon.com/thecherno
Instagram ► https://instagram.com/thecherno
Twitter ► https://twitter.com/thecherno
Discord ► https://discord.gg/thech...

▶ Play video
raw holly
#

I'm getting started with the learncpp tutorials. I liked the idea on the main cpp-help channel to make a text adventure game. I might try something like that when I finish learncpp. I also want to make a little unix ed text editor. then, maybe I can learn sdl3 a bit. I like this processing programming language too, and I think you might be able to make little graphics programs similar to that with sdl, and then maybe a tiny 2d game. I'm just getting started with C++ too. I like the advice on this page: https://www.learncpp.com/cpp-tutorial/how-to-design-your-first-programs/.

faint garnet
faint garnet
#

I'm really looking forward to getting into the chapter on object relationships and inheritance, which is strongly linked to this issue of program design.

#

These tips are very valuable, I really liked them too. I love thinking of a program as an iterative process that improves with each iteration. You don't write an entire feature and then say: done. That feature will always have room for improvement, meaning refactoring is part of the process. As mentioned in the lesson, a complex program evolved from something simple that worked.

faint garnet
#

I'm still waiting for responses, feel free to leave your suggestion. Yesterday I started a project, I'm about to finish it today, and I'm happy about it. I don't think I'll stop doing projects anymore, lol.

grim vesselBOT
#

This question is being automatically marked as stale.
If your question has been answered, type !solved.
If your question is not answered feel free to bump the post or re-ask.
Take a look at !howto ask for tips on improving your question.

faint garnet
#

!solved

grim vesselBOT
#

Thank you and let us know if you have any more questions!

This thread is now set to auto-hide after an hour of inactivity

drowsy marlin
# stuck wasp im kind of in the same boat except im on chapter 26 (or 27 , not sure) , the one...

I also stuck on these things and also I've done some small projects, but the thing is that I really tried on writing those code with some help, but when I am done with the project I ask myself if I can write the code again without help , then I come up with the idea that I can't do it without help as long as I should writing the code multiple times. I don't know does it really matter to remember all the things you do in a project or not .

faint garnet
grim vesselBOT
#

<@undefined>

Please Do Not Delete Posts!

Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.

grim vesselBOT
# grim vessel

Thank you and let us know if you have any more questions!

This thread is now set to auto-hide after an hour of inactivity

faint garnet
#

!solved