dev-cpp引入自定义头文件出现Id returned 1exit status

出现上图相同问题的解决方案是:
将所有类写在一个工程下。
文件-新建-项目
如图:

原文地址:https://www.cnblogs.com/yunxiaoqian/p/13990105.html