vc6.0程序的 error LNK2001 error LNK1120:

sm4算法的程序  点击compile 没有错误,点击build 出现以下错误,

 把link中的windows改为console后

 又出现以下错误

请问大佬们是怎么回事 求!!!  

是你的课程必须要求 vc6? 

你写的是GUI 程序, 不能改为 Console。 

可以看看这个:

https://stackoverflow.com/questions/5259714/undefined-reference-to-winmain16