c++ does not name a type

前端 未结 2 870
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-28 19:42

So I\'m having some type problems in my c++ program. Here is the code:

#include \"NHSFileparser.h\"
#include \"NHSFileController.h\"
#include 
#inc         


        
2条回答
  •  温柔的废话
    2021-01-28 20:27

    You cannot put statements outside functions, only declarations and definitions. Put your code inside main.

提交回复
热议问题