#help

13 messages · Page 1 of 1 (latest)

woeful bloomBOT
#

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 run !howto ask.

hollow rivet
#

lots of things wrong, first it doesn't compile, return cout<<"1"; makes no sense

#

you probably meant to put the parsing logic in its own function and return true/false to main

#

which can then print the 1 or 0, or you can do it in the function

#

you always check charsIn.top() but charsIn could be empty at any time which will crash

woeful bloomBOT
#

This question thread is being automatically closed. 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.

dusky comet
hollow rivet
#

Learn to use the debugger it shows you exact line of a crash

#

Also I just told you where it crashed…

dusky comet
#

disregard that cout out, what im trying to say is ive tried that in all the areas. are you saying it has to be a apart from main in a function for it to give me that output im expecting?

dusky comet
woeful bloomBOT
#

This question thread is being automatically closed. 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.