#logic problem or syntax problem ??????
27 messages · Page 1 of 1 (latest)
When your question is answered use !solved 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.
lot of what?
time?
just sounds like you need to continue practicing
you're on the right track!
Sorry for late
Yes a lot of time a lot of thinking about the syntax i need
- learn your language like a hawk
- solve algorithms with the syntax at your disposal
Usually you learn both at the same time
Could be a runtime error
It's not a syntax error for sure
A syntax error will be shown when compiling it
they said they need time to think about the syntax, how is that a runtime error?
I thought they meant it takes a lot of time the app to calcualte what it needs
No, i mean it takes a lot of time to code the logic
Just practice a lot, you'll get the hang of it after a few months
alright, im already practicing c++ 1.5-2 hours in the morning and 1.5-2 hours before sleeping
what kind of code are you writing?
if it's leetcode or something like that it's normal to take time. they are like puzzles, they're meant to make you think
Codewars
Bad written problems but i enjoy them
just saying, things like codewars are not that ideal for becomming better at c++, making real "projects" are much more beneficial
Idk what to do with basic c++
Functions, loops, conditions, pointers etc...
you have to pick a project
in general it's notmal to not know how to start, that will never realy change as you get better, but you will learn how to learn on how to approach problems
Start from small projects, you'll become a lot better
It's a logic problem if you can't think of the algorithm. It's a syntax problem if you have the algorithm but you still don't know how to write the code for it.