注册 登录
编程论坛 C++教室

这个问题让我崩溃了救命

孤魂居士 发布于 2007-12-16 22:46, 845 次点击
由于这几天冲英4级 没有记得编程开VC 今天打开有点事情,由于移动把我手机话费瞎扣 自己编了个手机话费的算法  上机调试 搞了半天 就是出现问题 我会急死 感觉没有错误的 就是不知道在那里
我急的不行了 就运行了个最简单的程序 还是出现同样的问题  
#include <iostream>
void main()
{
cout<<"nihao"<<endl;
}


错误:--------------------Configuration: 8525 - Win32 Debug--------------------
Compiling...
????.cpp
F:\1000\????.cpp(4) : error C2065: 'cout' : undeclared identifier
F:\1000\????.cpp(4) : error C2297: '<<' : illegal, right operand has type 'char [6]'
F:\1000\????.cpp(4) : error C2065: 'endl' : undeclared identifier
???? cl.exe ?±???í.

8525.exe - 1 error(s), 0 warning(s)


我完全快崩溃了  也许是我VC出现问题了  cout<<都有错误

我给我们数据结构老师发个邮件求救 但是邮件退回来了 以前都发的出去 今天腿回来了
我发现是我的字体有问题了 打拼音和以前的默认的拼音不同了


邮件退回信息:
This message is generated by COREMAIL email system.
I'm sorry to have to inform you that the message returned

你发送到[email]fulei_lug@[/email]的邮件由于以下原因被退回 :

[email]fulei_lug@[/email] SMTP error, RCPT TO: 550 Invalid User: [email]fulei_lug@[/email]

请到[url]http://help.[/url] 查询退信原因。


是不是我的字体打字母出现问题了?和以前不同了不正常了 我按shift+ctrl键调拼音的时候第1次总是会出现一个错误提示:

兄弟们 我该怎么半啊 ?
4 回复
#2
liujianlin2007-12-16 22:53
名称空间,using name std;我日
#3
孤魂居士2007-12-17 16:08
伤心  兄弟谢谢
#4
孤魂居士2007-12-17 16:09
以个多月没有 动手的 后果
伤心
#5
yuyunliuhen2007-12-17 20:33
#include <iostream>
int main()
{
std::cout<<"nihao"<<std::endl;
return 0;
}
1