我第一次接触这个东东,就出现了这个问题,我晕!是vc++不支持printf还是!?
#include "stdafx.h"
int main(int argc, char* argv[])
{
printf("hello!");
return 0;
}报错信息!
compiling...
StdAfx.cpp
Compiling...
hello_dos.cpp
E:\test\hello_dos\hello_dos.cpp(9) : error C2065: 'printf' : undeclared identifier
执行 cl.exe 时出错.hello_dos.exe - 1 error(s), 0 warning(s)
#include "stdafx.h"
int main(int argc, char* argv[])
{
printf("hello!");
return 0;
}报错信息!
compiling...
StdAfx.cpp
Compiling...
hello_dos.cpp
E:\test\hello_dos\hello_dos.cpp(9) : error C2065: 'printf' : undeclared identifier
执行 cl.exe 时出错.hello_dos.exe - 1 error(s), 0 warning(s)
解决方案 »
- 分享给大家我在这二个月里做的东西,cximage+png图片处理。
- 如何在后台代码中,创建一个Picture Control控件?
- 一个OCX调用问题控件
- 谢谢高手帮帮我这位初学VC的小弟,给我介绍一本《〈MFC windows程序设计〉》行吗?最好是电子文档
- Mouse的第4键和第5键怎么使用?
- 关于多纯种处理收发的问题.
- 各位大虾帮忙看看我的排序错在哪里?
- help
- 我有一个别人写的dll以及它的lib,如何调用其中的函数??知道函数名和参数!!
- 请教关于DialogBox的用法的??
- 有什么工具可以显示并替换文本文件中的Unicode控制字符?谢谢
- *************VC中我有一个全局线程函数,用于网络监听,有新用户连接时,将新用户信息显示在TreeView上,如何在线程函数中访问TreeView
int main(int argc, char* argv[])
{
printf("hello!");
return 0;
}