...
This commit is contained in:
parent
c1b425991b
commit
2a99d7a734
21
VANDAMME28.c
21
VANDAMME28.c
|
@ -1,3 +1,16 @@
|
|||
/*
|
||||
* Fichier client :
|
||||
------------------------------------------------------------
|
||||
|UINTL NBClients|Bool Tri| Client 0 | Client 1 | .......ETc|
|
||||
------------------------------------------------------------
|
||||
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
|
@ -70,6 +83,7 @@ FILE * localiserFichierClients(char *);
|
|||
int ajouterClientBin(FILE *, Client *);
|
||||
int compNP(char *, char *,char *, char *);
|
||||
void qSortClientBinByNP(FILE *);
|
||||
void clientBinToTXT(FILE * bin, FILE* txt);
|
||||
|
||||
int main()
|
||||
{
|
||||
|
@ -651,3 +665,10 @@ void qSortClientBinByNP(FILE * clientF)
|
|||
}
|
||||
}
|
||||
}
|
||||
void clientBinToTXT(FILE * bin, FILE* txt)
|
||||
{
|
||||
fseek(bin, 0, SEEK_SET);fseek(txt, 0, SEEK_SET);
|
||||
fseek(bin, sizeof(unsigned long int));
|
||||
fseek(bin, sizeof(Bool));
|
||||
fread()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue