How many lines of code can be in one C++ function? Is there a limit? I'm using MSVS 2013. My main function is huge.
There is no limit, but keeping maintainability in mind around 30 lines max. Should be used if possible.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With