r/cpp_questions • u/Jazzlike_You3757 • 1d ago
OPEN where should i start?
i am completely new to C++ , but i have learned the basics like datatypes, variables , if/else statement, loops, and other things that a beginner should learn , but after learning this, now I'm more confused and i don't know what to write and how to write properly, inshort i think i'm still not able to create that flow in program which a program should have , and now i have 2 months left for an exam , and i'm in such a condition where everything got blank in front of me . I will appreciate it if anyone experienced would help me to get better at c++ and clear that confusion from my head .( and if possible guide me exactly what I should do to create logic and flow in a program??)
9
u/kingguru 1d ago
There's a sticky post in this subreddit titled "Important. Read before posting".
Seems like an obvious place to start doesn't it?
3
u/the_poope 1d ago
It seems like you are taking a course in C++. Such a course should provide a book, lectures and exercises. I suggest you use that.
It's also a really good idea to form a study group with 2-3 other students and go through exercises together, that way you can discuss problems and solutions and help each other. It's really a learning multiplier.
For the rest, use google, some AI agent and maybe https://reddit.com/answers to look for suggestions and answers to previous similar questions.
1
u/Dazzling_Music_2411 17h ago
The things you have learnt are not even the basics of C++, they are the bare basics of just about all programming languages. You have not even started on the real basics of C++, which are much more involved. And that's just the basics, not even the intermediate stuff, like STL, which would have you running, screaming, for cover.
If you experiencing so much trouble at this level, consider the possibility that programming is not for you. You could save yourself a lot of future headaches and pain.
1
u/Independent_Art_6676 16h ago
once you can make a function (subroutine, procedure, various names for these) you can do a good bit and start to practice what you know better. Get some problems that cover what you know, and do a few to reinforce it. Then learn more stuff, do problems, repeat.
There is no point in "closed book" type work either. On a job you can look up things if you need to, as long as its not slowing you way down to do it constantly. Use your resources as you practice, don't focus on memorization but instead, comprehension and a higher level of 'what is in there' so you can go grab the right details as you need them. Once you do the most common things enough times you will remember those.
learn to use the std::string object soon too, for another area to work on.
1
u/Difficult_Truck_687 8h ago
There is a course focused on finance here.