如何在vc中调试纯c纯c++语言?? 新建时选files->c++ sourcefile 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 建立一个空的非MFC工程,然后把要调试的cpp文件添加进来 选Text文件,存为.cpp,即可调试 点左上角的"NEW Text File"图标。保存为 *.cpp 不就行了 多谢二位那karma(无为兄弟如何产生一个console应用程序呢?是新建时选 projects->Win32 Console Application 是吗? 控制台应用程序跟MFC一样复杂最常用的方式是files->c++ sourcefile ,编译的时候创建一个工程就行了 各位兄弟,你们看看自己是否都被加了5分??(对不起,回答的人太多,每个人都得有点吗)我准备再给各位加更多的分请各位在给我回答个问题:我的步骤:new projects->Win32 Console Application -> A "Hello ,world !" application 工程名为test3此时,调试原程序test3.cpp 原代码如下:// test3.cpp : Defines the entry point for the console application.//#include "stdafx.h"int main(int argc, char* argv[]){ printf("Hello World!\n"); return 0;}结果抱错:--------------------Configuration: test3 - Win32 Debug--------------------Compiling...test3.cppd:\program files\microsoft visual studio\myprojects\test3\test3.cpp(4) : fatal error C1083: Cannot open precompiled header file: 'Debug/test3.pch': No such file or directoryError executing cl.exe.test3.obj - 1 error(s), 0 warning(s)这是怎么回事,请各位详细说之,谢谢!! 60分。。跪求flash教程!! 如何将非模态对话框限制在客户区 并且可以改变大小 求一个Tab Ctrl 控件入门的例程 CSocket的recieve方法的疑问 关于 一 个 内存池 的简单问题~~~ 在线截贴 给分!! 如何将CString 变量的内容赋值给 long 变量? 关于将软盘设为只读的问题? 请问怎么样才能截获PropertySheet的确定、取消的消息??? 如何在vc中对二进制文件进行数据库的查询及显示查询结果的操作??? 《深入浅出MFC》中的问题.......谁来帮我? 一道难题?(或许只是对我来讲) COM的困惑
保存为 *.cpp 不就行了
那karma(无为兄弟
如何产生一个console应用程序呢?
是新建时选 projects->Win32 Console Application 是吗?
最常用的方式是files->c++ sourcefile ,编译的时候创建一个工程就行了
我准备再给各位加更多的分
请各位在给我回答个问题:
我的步骤:new projects->Win32 Console Application -> A "Hello ,world !" application 工程名为test3
此时,调试原程序test3.cpp 原代码如下:
// test3.cpp : Defines the entry point for the console application.
//#include "stdafx.h"int main(int argc, char* argv[])
{
printf("Hello World!\n");
return 0;
}结果抱错:
--------------------Configuration: test3 - Win32 Debug--------------------
Compiling...
test3.cpp
d:\program files\microsoft visual studio\myprojects\test3\test3.cpp(4) : fatal error C1083: Cannot open precompiled header file: 'Debug/test3.pch': No such file or directory
Error executing cl.exe.test3.obj - 1 error(s), 0 warning(s)
这是怎么回事,请各位详细说之,谢谢!!