C++ 编译问题,G++编译一直compile error,但VC6.0能运行,是不是构造函数有问题?跪求解答

[复制链接]
查看11 | 回复1 | 2013-4-4 21:06:59 | 显示全部楼层 |阅读模式
把类名index修改成Index 后,user@Mylinux:/opt$ g++ -o LinkNode LinkNode.cpp/tmp/ccCcwPg3.o: In function `main':LinkNode.cpp:(.text+0x354): warning: the `gets' function is dangerous and should not be used.user@Mylinux:/opt$...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行