python编译polyiou错误

python编译polyiou错误_第1张图片

错误说明
polyiou.cpp: warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
polyiou.cpp(89): error C2059: syntax error: ‘if’
polyiou.cpp(90): error C2059: syntax error: ‘if’
解决办法:
用notepad打开polyiou.cpp,编码-转为ANSI编码
如果还是不行下载这个polyiou.cpp文件
https://download.csdn.net/download/qq_26847897/19695040?spm=1001.2014.3001.5503

你可能感兴趣的:(python编译polyiou错误)