Eclipse Indigo CDT: Function could not be resolved

前端 未结 5 1393
渐次进展
渐次进展 2021-02-05 06:26

This feels silly, but its been 2 days...somewhere after upgrading from Ubuntu 10.04 to 10.11 and from Eclipse Helios to Eclipse Indigo, I got stuck with the following problem:

5条回答
  •  执笔经年
    2021-02-05 06:43

    Check your includes: if you're using include change it to include. The same for stdio.h and stdlib.h, you should replace by cstdio and cstdlib. Another option may be change you project to a C project instead of a C++.

提交回复
热议问题