使用了memcpy(),c++下的函数,编译部通过,undeclared name, inverting ' extern "c" int memcpy(...);"
我加入了#ifdef __cplusplus
extern "C" {
#endif
但不知道加的位置对不。
请教大家!
请问你第一个问题是怎样解决的?
我也出现了undeclared name, inverting ' extern int dm' 这个问题
程序如下:
#include "stdio.h"
struct dm;
int Cyear,Cmonth,Cday,Cmonnum,Lmonnum;
..........................
void main()
{
clrscr();
getdate(&dm);(在这里出错了)
}
为什么?具体要怎样改才好?谢谢。