Message from C, C++ talks

June 2019

— There's written there's no return statement in a non-void function. I think the error is pretty clear

Message permanent page

— Sorry for stupid question. Apparently, I need some rest

— Usually it generates only a warning tho

— It' an online compiler


Help me please with my code, I’m rookie in C++ and I get this error. What have I done wrong?. Task from leetcode(topic binary search) Line 18: Char 5: error: no return statement in function returning non-void [-Werror=return-type]. My code

— Yeah it even says that it is treating that warning as an error because the program is compiled with the flag -Werror=return-type

Message permanent page

— True

— Hello

— User Mad has 1/3 warnings; be careful!
The latest warn was because:

— Hey, I am new to this....i want somebody to help me in programming..

— Just do it

— But need help ...friend

— I have just become free these days....i want some creative to learn

— To develop a skill

— Hello