我有helper.h一个需要包含的头文件main1.c,main2.c因此我helper.h在两个文件中都包含了文件(没有包含我收到错误),但我仍然收到错误,其中的函数helper.h已经定义。如何使用#ifndef 消除此错误?
我有helper.h一个需要包含的头文件main1.c,main2.c因此我helper.h在两个文件中都包含了文件(没有包含我收到错误),但我仍然收到错误,其中的函数helper.h已经定义。如何使用#ifndef 消除此错误?