C/Biblioteki: Różnice pomiędzy wersjami

Usunięta treść Dodana treść
inny sposób tworzenia biblioteki
Lethern (dyskusja | edycje)
mNie podano opisu zmian
Linia 10:
Oto najprostszy możliwy plik nagłówkowy:
<source lang="c">
#ifndef _PLIK_HPLIK_H
#define _PLIK_HPLIK_H
/* tutaj są wpisane deklaracje funkcji */
#endif
Linia 24:
 
<source lang="c">
#ifndef _WIKI_HWIKI_H
#define _WIKI_HWIKI_H
#include <stdio.h>
void wiki (void) {printf("pl.Wikibooks\n");}
Linia 68:
<source lang="c">
/* biblioteka.h */
#ifndef _BIBLIOTEKA_HBIBLIOTEKA_H
#define _BIBLIOTEKA_HBIBLIOTEKA_H
extern char zmienna_dzielona[];
#endif