jai un petit probleme pour l ecriture ds un fichier, voila le code:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11 #include <iostream.h> .. FILE *outfile=fopen("output.txt", "w"); float vTex; .. void PrintDist() { outfile<<vTex<<endl; } ..
error C2296: '<<' : illegal, left operand has type 'struct _iobuf *'
error C2297: '<<' : illegal, right operand has type 'float'
si vous pouvez m aider
merci d avance
Partager