mac下eclipse开发c++代码,类成员自动提示功能配置

来源:互联网 发布:用java写qq登陆界面 编辑:程序博客网 时间:2024/05/06 02:32

1.右击c++工程,在弹出菜单中选中“properties”,弹出如下界面


2.选中path and symbols项,在右侧标签栏中选中includes,给GNU C++添加include directories.

3.include directories填什么?

在终端输入gcc -v 输出如下(仅供参考),

Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1

想必大家已经看出来了,对就是--with-gxx-include-dir的值
0 0
原创粉丝点击