I was doing the project and I was compiling it and the compiler says undefined reference to WinMain@16 can anyone solve it
Not sure, but looks like you started windows application (not a console one) in Visual studio, it uses not main but WinMain.
You need to either create this function and use it as the entry point to your program or use console application.
Not sure about names as wll because I have not seen this creation wizard for many years.
Pavel
BinaryByter
Ludovic 'Archivist'
Wim
Ariana
Parra
Anonymous
Dima
olli
professor
Francisco
MᏫᎻᎯᎷᎷᎬᎠ
Roxifλsz 🇱🇹