It means that when the compiler got to line 41, it had no idea what
paint_Menu was. The compiler needs to know what
paint_Menu is before using it.
Isn't my paint_menu function there ?
how come ..
The compiler starts reading at the top.
It gets to line 41. Where, in the previous 40 lines, did it learn what
paint_Menu is? Nowhere. The compiler needs to see the function definition or declaration before having to use it.
@Repeater Okay.Thanks for guiding