1、如果我的程序不想改成.cpp 因为函数的原形大部分是 void num(n) int n; { } 很老的!
那就直接按照ccnuxjg的方法做吧,应该没有问题的。
我加进工程后,编译时 刚开始时unexpected end of file while looking for precompiled header directive后来在.c文件之前加入 #include "stdafx.h" 编译还是通不过is not a precompiled header file created with this compiler
菜单:Project\Add to Project\files
因为函数的原形大部分是
void num(n)
int n;
{
}
很老的!
刚开始时unexpected end of file while looking for precompiled header directive后来在.c文件之前加入
#include "stdafx.h"
编译还是通不过is not a precompiled header file created with this compiler