<iostream> no file or directory

使用liunx g++ 编译时出现该问题

问题原因是当前文件后缀名错误

将main.c 改成main.cpp

即可解决

猜你喜欢

转载自blog.csdn.net/qq_22478401/article/details/81660748