3.4.1 : Le header shadok.h

Voici le shadok.h : On gère les inclusions multiples :
1
2
#ifndef __SHADOK_H__
#define __SHADOK_H__


On inclue ce qu'il faut pour afficher des trucs :
1
#include <iostream>


On définie notre fonction :
1
void print_shadok();


On ferme notre condition :
1
#endif


Le fichier shadok.h complet :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/***************************************
	Auteur : Pierre Aubert
	Mail : pierre.aubert@lapp.in2p3.fr
	Licence : CeCILL-C
****************************************/


#ifndef __SHADOK_H__
#define __SHADOK_H__

#include <iostream>

void print_shadok();

#endif
Lien de téléchargement ici.