#Project help
25 messages · Page 1 of 1 (latest)
Yo are you doing the University Of London Computer Science OOP course
I changed the code, so i can run it without the class. And on my system its working. Maybe set a breakpoint
Could you send more code so it doesn't cut off
But looking at it you should probably add in a std::cin.ignore() before std::getline since there will be a \n hanging around
Oh yeah, that could be an issue
this is pretty much the code for this file, i have more but its commented out because it doesn't even print the 2 cout s to begin with
i did have that before and it didn't work as well, just tried it again to no avail
class
the code before this function
Did you try to debug with an breakpoint?
i did not, how should i do that?
What IDE you are using?
@frail nexus add cin.ignore() or getchar() before getline to avoid the issue
Maybe just watch a video how to debug. The basics arent that difficult. I dont use VSCode
You just have to set a breakpoint and do step over or step into into a function. So you can see what your program is actually doing and what is the content of your variables
i will in a while, but isn't this literally when i input 1 it will start computeCandlestickData function, which is just print 2 statements for now
You'll need this skill later anyway. For big projects for example
i literally don't get how it won't work
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.