Pokud v soboru test.h používám funkci fce1() ... tak :
Kód: Vybrat vše
#include "test.h"
void fce1(){
delay(1000);
}
// tohle fungovat nebude .... bude to hulákat že v tomto scope není deklarovana fce1
void fce1(){
delay(1000);
}
#include "test.h"
// tohle fungovat bude ....
Kód: Vybrat vše
#include "test1.h"
#include "test2.h"
// tohle nebude fungovat ... v scope neni deklarovana funkce
#include "test2.h"
#include "test1.h"
// tohle fungovat bude ....