#Variable input.

15 messages · Page 1 of 1 (latest)

tepid zenithBOT
#

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.

spice pendant
#

can you post the file you're running this on

#

also %d is for int, not bool

#

yes, but that doesn't mean bool is the same as an int

#

the %d specifier for scanf specifically needs an int*, anything else is UB

#

what's the actual issue?

#

yes, there's a loop. what is the error

#

"doesn't work" means nothing

#

you're programming with \n newlines but your file uses \r\n newlines

#

carriage return

#

brings the cursor back to the left

#

I can't reproduce your error, password is rejected with length 8 when I switch the condition to use minLength

tepid zenithBOT
#

Thank you and let us know if you have any more questions!

This thread is now set to auto-hide after an hour of inactivity

spice pendant
#

Are you sure you've been saving and recompiling?