From: Jorge A. <jab...@ma...> - 2003-07-03 13:47:33
|
Hey guys, thanks for the help, Actually Daniel Glenfield was write. I did not try Per W. solution that probably would work either. I changed the code to the followin and it worked well: ///////// for (loop=0;loop<Number_of_Points;loop++) { DWORD dWritten; sprintf (temp,"\r\n",""); WriteFile(hFile, temp, sizeof(temp),&dWritten, NULL); sprintf (temp,"%3d",ran1[loop]); WriteFile(hFile, temp, sizeof(temp),&dWritten, NULL); } ///////// |