Cpp1.cpp引用:
#include "stdafx.h"
void shuchu(char * str1,char str2)
{
printf(str1,str2);
}ceshi.cpp引用:
#include "Cpp1.cpp"
#include "stdafx.h"
int main(int argc, char* argv[])
{
printf("Hello World!\n");
shuchu("ceshi1","ceshi2");
return 0;
}标红的地方都有问题...
#include "stdafx.h"
void shuchu(char * str1,char str2)
{
printf(str1,str2);
}ceshi.cpp引用:
#include "Cpp1.cpp"
#include "stdafx.h"
int main(int argc, char* argv[])
{
printf("Hello World!\n");
shuchu("ceshi1","ceshi2");
return 0;
}标红的地方都有问题...