fflushOnInputStream
Error prone
Warning
fflush() called on input stream may result in undefined behaviour on non-linux systems
C and C++ are really performant languages and can be very error-prone. We all had core dumps and made pointer arithmetic errors! Thankfully, Codiga has hundreds of static analysis rules to flag potential errors in your C/C++ code, automate code reviews and merge with confidence.
fflush() called on input stream may result in undefined behaviour on non-linux systems
Behaviour of 'sizeof(void)' is not covered by the ISO C standard.
Comparison of a variable having boolean value using relational (<, >, <= or >=) operator
Rethrowing current exception
Call of pure virtual function in constructor.