- void CNicoDlg::OnOK()
- {
-
-
- UpdateData(true);
-
- FILE *fch;
- fch = fopen("c:\\test.txt","w"); //creation du fichier test.txt w pour ecriture
-
- fputs(m_ed, fch); // m_ed nom de ma variable du champ de texte éditable
-
- fclose(fch);
-
-
-
- }
void CNicoDlg::OnOK()
{
UpdateData(true);
FILE *fch;
fch = fopen("c:\\test.txt","w"); //creation du fichier test.txt w pour ecriture
fputs(m_ed, fch); // m_ed nom de ma variable du champ de texte éditable
fclose(fch);
}