Réponse acceptée !
CreateFile WriteFile CloseHandle
HANDLE hFile;
DWORD nbytes;
hFile = CreateFile("nomfichier", GENERIC_WRITE, 0, 0, CREATE_ALWAYS, 0);
WriteFile(hFile, tabstructure, sizeof(tabstructure), &nbytes, 0);
CloseHandle(hFile);
fopen fwrite fclose
FILE *file;
file = fopen("nomfichier", "wb");
fwrite(tabstructure, sizeof(tabstructure), 1, file);
fclose(file);
C++ (@++)