| 编程中国 | 业界新闻 | 技术文章 | 视频教程 | 下载频道 | 程序源码 | 个人空间 | 编程论坛
全能ASP/PHP/ASP.NET主机,支持月付专业 MSSQL 数据库空间,支持月付专业 MySQL 数据库空间,支持月付学习型 ASP/PHP/ASP.NET 主机 30元/年
高端软件开发 = 年薪十万不是梦赛孚耐:软件保护加密专家身份认证令牌USB KEY 
共有 357 人关注过本帖
标题:[求助]c++ 有帮助文档吗?
收藏  订阅  推荐  打印 
lyle3
Rank: 2
等级:注册会员
帖子:80
积分:900
注册:2006-5-19
[求助]c++ 有帮助文档吗?

我们刚开始学习C++,用的 是MinGWStudio 这个编译器
不知道为什么 连抄个书上的 程序 它都叫有问题
大家看下最简单的 :
#include<iostream>
using namespace std;
int main()
{
cout << "Hello,World! I am"
<< 8 << "Today!"<<endl;
}/

错误信息:
--------------------Configuration: myprogram - Debug--------------------
Compiling source file(s)...
Hello.cpp
In file included from C:\MinGW\include\c++\3.2.3\bits\locale_facets.tcc:43,
from C:\MinGW\include\c++\3.2.3\locale:46,
from C:\MinGW\include\c++\3.2.3\bits\ostream.tcc:37,
from C:\MinGW\include\c++\3.2.3\ostream:275,
from C:\MinGW\include\c++\3.2.3\iostream:45,
from Hello.cpp:1:
C:\MinGW\include\c++\3.2.3\limits:48:29: bits\cpu_limits.h: No such file or directory

myprogram.exe - 1 error(s), 0 warning(s)
大家帮忙看下 好吗?
谢谢了

搜索更多相关主题的帖子: 文档  quot  Hello  MinGW  include  
2007-3-31 17:57
lyle3
Rank: 2
等级:注册会员
帖子:80
积分:900
注册:2006-5-19

大家帮下忙好吗?
谢谢~~~

我将再给你一次选择的机会............... QQ:514897584
2007-3-31 17:58
幽灵嫖客
Rank: 1
等级:新手上路
帖子:28
积分:390
注册:2007-1-15

你这个不是main没有返回值吗? 加句return 0;
你可以参照微软出的MSDN帮助系统。很权威的!


C primer plus
2007-3-31 18:16
yuyunliuhen
Rank: 12Rank: 12Rank: 12
等级:贵宾
威望:20
帖子:1419
积分:14466
注册:2005-12-12

以下是引用lyle3在2007-3-31 17:57:13的发言:

我们刚开始学习C++,用的 是MinGWStudio 这个编译器
不知道为什么 连抄个书上的 程序 它都叫有问题
大家看下最简单的 :
#include<iostream>
using namespace std;
int main()
{
cout << "Hello,World! I am"
<< 8 << "Today!"<<endl;
return 0; //需要一个返回值
}//这个地方多了'/'


Go confidently in the  directions of your dreams,live the life you have imagined!Just do it!
It is no use learning without thinking!
2007-3-31 18:17
lyle3
Rank: 2
等级:注册会员
帖子:80
积分:900
注册:2006-5-19

谢谢大家


我将再给你一次选择的机会............... QQ:514897584
2007-3-31 18:24
lyle3
Rank: 2
等级:注册会员
帖子:80
积分:900
注册:2006-5-19

那个MSDN去哪儿下
或者有的话给我发下 好吗?
我的邮箱
cuily053842@126.com
谢谢大家...

我将再给你一次选择的机会............... QQ:514897584
2007-3-31 18:26
yuyunliuhen
Rank: 12Rank: 12Rank: 12
等级:贵宾
威望:20
帖子:1419
积分:14466
注册:2005-12-12

MSDN  好大的勒,有1.6G,在度里面找找吧

[此贴子已经被作者于2007-3-31 18:33:27编辑过]



Go confidently in the  directions of your dreams,live the life you have imagined!Just do it!
It is no use learning without thinking!
2007-3-31 18:32
关于我们 | 广告合作 | 编程中国 | 清除Cookies | Archiver | WAP | TOP

编程中国 版权所有,并保留所有权利。鲁ICP备08000592号
Powered by Discuz, Processed in 0.053632 second(s), 9 queries.
Copyright©2004-2008, BCCN.NET, All Rights Reserved