<?
function test00()
{
echo "2222";
}
test00();
?>这样不行??还是你把函数定义放在了另外一个文件中,在使用函数的文件搞忘require那个有函数实现的文件了?
function test00()
{
echo "2222";
}
test00();
?>这样不行??还是你把函数定义放在了另外一个文件中,在使用函数的文件搞忘require那个有函数实现的文件了?
调试欢乐多
#ifndef _FUN_H
#define _FUN_Hint WINAPI test();
#endif#include "fun.h"
int WINAPI test()
{
return 0;
}
在要引用的地方把头文件包括就可以了。