Code: Select all
In file included from ../main/rt/RTNeural/RTNeural.h:5,
from ../main/rt/RTNeuralLSTM.h:3,
from ../main/main.c:29:
../main/rt/RTNeural/Model.h:6:10: fatal error: iostream: No such file or directory
#include <iostream>
^~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
是因为我的工程主文件叫main.c, 编译工具认为我是C语言,不是C++语言吗? 怎么才能正常引用iostream这些c++的标准库啊?