[ NoSmoking95 @ 04.09.2014. 18:25 ] @
Code: #include "funkcije.h" int main() { ispisi(); system("pause"); return 0; } Code: #include "funkcije.h" #include <stdio.h> void ispisi() { printf("Hello world!"); } Code: #ifndef FUNKCIJE_H_INCLUDED #define FUNKCIJE_H_INCLUDED void ispisi(); #endif // FUNKCIJE_H_INCLUDED Svi fajlovi mi se nalaze u jednom folderu, koristim CODE:BLOCK, javlja mi grešku undefined reference to 'ispisi'. Zašto mi ovo ne radi? PS: greška, temu prebaciti u C/C++ programiranje za početnike. |