开发者

g++ compiler cannot find file cstudio. What's wrong?

I'm using windows 7 and have installed the GCC compiler.

I am compiling a C++ program using the following command:

g++ convert.cpp -o convert.exe

But I am getting the following error:

convert.cpp:1:19: fatal error: cstudio: No such file or directory

compilation te开发者_StackOverflowrminated.

Why is that?


There is no standard header called <cstudio>. There is one <cstdio>, though. Maybe that's what you meant.


As the error message indicates, your compiler cannot find the file cstudio.

Remove (or fix) the matching #include to fix the problem.

As suggested by Benoit, you probably meant : #include <cstdio> instead of #include <cstudio> but unfortunately we can't tell without seeing some code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜