Bonjour à tous je voudrais créer un fichier .h sous turboc mais j'utilise surement pas la bonne methode
alors j'ai créer un fichier ICI.H et ICI.C que j'ai placé dans mon repertoire INCLUDE
ICI.C
#include "ICI.H"
void module_ICI(void)
{
int tmp;
tmp = 10;
printf("dd %d",tmp);
}
ICI.H
#ifndef TEST_H
#define TEST_H
void module_ICI(void);
#endif
ensuite j'ai créer un fichier TEST.C
#include "ICI.H"
main()
{
clrscr();
ici();
getch();
}
et quand je compile il me dit :
Linker error : Undefined symbol '_ici' in module TEST.C
pourriez vous me dire pourquoi ? ou comment je dois faire pour que cela fonctionne ?
Merci de votre aide
DOS-chkdsk-2K