#why does this variable fail to link with the one outside of the while loop scope

8 messages · Page 1 of 1 (latest)

cloud bay
#

For some reason the variable acts as if it was being redeclared instead of linking with the one outside of the while loop, and i cant figure out why

random caveBOT
#

Hello! Thank you for your question. To help you best, please provide the code snippet where you're encountering the issue, along with any error messages you're seeing. Also, please describe the context of your problem, including what you're trying to achieve and any troubleshooting steps you've already taken. This will help others understand your problem and provide more relevant assistance.

#

-# C++ @ionic barn @sacred spindle

sullen topaz
#

because you re-declare it?

#

just get rid of the AST* before your variable and it'll work

cloud bay
#

i swear to god i was looking at this for last 20 minutes and i didnt notice

#

thanks