我随便写了一个试是好呀,你看看:
// mian.c
#include "test.h"
void main( void )
{
int i = 10 ;
i = add( i ) ;
i += 3 ;
i = add( i ) ;
}
///:end main.c
// test.h
int add( int ) ;
/// end test.h
// test.c
#include "test.h"
int add( int i )
{
return i + 3 ;
}
///: end test.c
发表时间:2003年9月13日20:06:40