/*******a.h*******/
#ifndef A_H_INCLUDE
#define A_H_INCLUDE
void test();
#endif
/***********a.cpp***********/
#include
#include "a.h"
using namespace std;
void test(){
cout<<"hello"<<endl;
}
/*********main.cpp************/
#include "a.h"
int main()
{
test();
return 0;
}
用codeblocks 编译的时候怎么都无法编译过。一直提示error:ld returned 1 exit status.