04-18-2017, 05:13 PM
(This post was last modified: 09-01-2022, 01:06 AM by Fearless Community.
Edit Reason: Checked Encoding
)
(04-12-2017, 07:28 AM)Devon Wrote: Hey, nice program.
I was looking at the source code and noticed many massive clumps of if statements checking the condition of one variable, most being location.
As you are coding in C++ you can use the switch statement to reduce the size and increase the efficiency of these checks.
ok no idea why i looked at this, but I'll answer your question.
I hate switch statements, they piss me off. they are some of the most annoying things you can do in C++. also im lasy and programming the full thing using if and while true loops is much easier than using switch statements
![[Image: ETQjSgL.jpg]](https://i.imgur.com/ETQjSgL.jpg)
Made by Me X | Give a Rep, You May Get Something in Return *wink* ,Click Here