When im running my code on code blocks it is showing error "undefined reference to winMain@16 plzz help | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

When im running my code on code blocks it is showing error "undefined reference to winMain@16 plzz help

5th Dec 2018, 6:00 PM
k180226 Syed Hassan Ali
k180226 Syed Hassan Ali - avatar
2 Respuestas
+ 2
Either main is missing from your code, or there is a problem in linking. In either case, it will help if you could share the code as a link from Code Playground. If you are not sure how to do that, visit: code.sololearn.com/#c, and press the + icon.
5th Dec 2018, 6:08 PM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
0
Yes main was missing from my code
5th Dec 2018, 6:18 PM
k180226 Syed Hassan Ali
k180226 Syed Hassan Ali - avatar