源代码如下:
#include<stdio.h>
void mai()
{
char a,b;
a=*C*;
b=*i*;
putchar(a);
putchar(*h*);
putchar(b);
getchar();
}
错误提示:
--------------------Configuration: c0424 - Win32 Debug--------------------
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/c0424.exe : fatal error LNK1120: 1 unresolved externals
执行 link.exe 时出错.
c0424.exe - 1 error(s), 0 warning(s)
这可怎么办呀?
#include<stdio.h>
void mai()
{
char a,b;
a=*C*;
b=*i*;
putchar(a);
putchar(*h*);
putchar(b);
getchar();
}
错误提示:
--------------------Configuration: c0424 - Win32 Debug--------------------
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/c0424.exe : fatal error LNK1120: 1 unresolved externals
执行 link.exe 时出错.
c0424.exe - 1 error(s), 0 warning(s)
这可怎么办呀?