求大神帮忙!
#include "stadfx.h"#include "stdio.h"
#include "string.h"
#include "stdlib.h"
void GetMemory2(char **p, int num)
{
*p = (char *)malloc(num);
}
void Test(void)
{
char *str = NULL;
GetMemory(&str, 100);
strcpy(str, "hello");
printf(str);
}
int main()
{
Test();
}
f:\chengxu\fgrt\test.cpp(1) : fatal error C1083: Cannot open include file: 'stadfx.h': No such file or directory
这是怎么回事?怎么解决?我在网上找了很久都没解决