论坛: 编程破解 标题: 我是VC初学者,请问高手为何在VC6下编译不成功 复制本贴地址    
作者: nolove [nolove]    论坛用户   登录
#include<iostream.h>
void main ()
{
int I;
cin >>I;
cout <<;
}


真是打击了我的士气啊.

[此贴被 nolove(nolove) 在 05月14日17时55分 编辑过]

地主 发表时间: 04-05-14 17:53

回复: nolove [nolove]   论坛用户   登录
高手赐教啊.

B1层 发表时间: 04-05-14 19:59

回复: windflower [windflower]   论坛用户   登录
cout<<I;

B2层 发表时间: 04-05-14 21:39

回复: programlive [coolcall]   论坛用户   登录
#include<stdafx.h>
#include<iostream.h>
void main ()
{
int I;
cin >>I;
cout<<I<<endl;
}

试试看...





[此贴被 programlive(coolcall) 在 05月15日11时47分 编辑过]

B3层 发表时间: 04-05-15 00:25

回复: nolove [nolove]   论坛用户   登录
谢谢了。。

B4层 发表时间: 04-05-15 20:04

回复: hackgou [hackgou]   论坛用户   登录
IDE下需要添加stdafx.h头文件才可以编译,
#include<stdafx.h>

命令行下则无此限制。


B5层 发表时间: 04-05-18 12:41

回复: hacker_1 [hacker_1]   论坛用户   登录
#include<iostream.h>
void main ()
{
int I;
cin>>I;
cout<<T;
}


B6层 发表时间: 04-05-18 22:50

回复: nolove [nolove]   论坛用户   登录
#include "stdafx.h"
#include "stdio.h"

void main()
{
int i,j,k;
printf("i j k\n")
for (i=0;j<2;i++)
for (j=0;j<2;j++)
for (k=0;k<2;k++)
printf("d% d% d%\n",i,j,k);
}

为什么也没编译成功啊不解阿~

B7层 发表时间: 04-05-19 17:12

论坛: 编程破解

20CN网络安全小组版权所有
Copyright © 2000-2010 20CN Security Group. All Rights Reserved.
论坛程序编写:NetDemon

粤ICP备05087286号