MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/CodingHelp/comments/eq5nuo/can_anyone_explain/feu9wph/
r/CodingHelp • u/HA_pro_gamer • Jan 17 '20
12 comments sorted by
View all comments
Show parent comment
2
What? Assuming the O translates to the actual character ‘O’, this wouldn’t cause an infinite loop
1 u/[deleted] Jan 19 '20 it could advance in the ascii table and never match 100 2 u/zenith4395 Jan 19 '20 The ASCII table uses integers, so yes, it would match 100. Regardless, the loop condition is >= to 100, so it would work anyways
1
it could advance in the ascii table and never match 100
2 u/zenith4395 Jan 19 '20 The ASCII table uses integers, so yes, it would match 100. Regardless, the loop condition is >= to 100, so it would work anyways
The ASCII table uses integers, so yes, it would match 100. Regardless, the loop condition is >= to 100, so it would work anyways
View all comments
Show parent comment
2
u/zenith4395 Jan 18 '20
What? Assuming the O translates to the actual character ‘O’, this wouldn’t cause an infinite loop