Advertisement

1 - 10 of 70 containing alltags:("fwrite") (0 seconds)
the below is a cpp program in which i am taking input from two text files.where one is a one dimensional array and other is a two dimensional array. i will be passing these points to some other fu...
Zones: C++Date Answered: 01/21/2003 Grade: B Views: 0
I'm writing a program and need to store data from a struct into a file at close-down, and reload that data at startup. Think can use fread and fwrite? but not so sure. Really appreciate any help...
Zones: ProgrammingDate Answered: 10/07/2003 Grade: A Views: 0
Hi, I got this problem...I use fwrite to write some structs into my files and sometimes it works perfectly but sometimes it didn't. Here are my codes.. typedef struct _AStruct {       DataA myF...
Zones: C++Date Answered: 04/01/2004 Grade: A Views: 0
Hi, I am using fwrite to write the content of a structure into a file. struct rec {         int age;         char name[10];         }; FILE * pFile; pFile = fopen ("myfile.txt","w"); ...
Zones: CDate Answered: 04/14/2005 Grade: B Views: 0
I have three files as resources, which I am trying to write to the disk. The first one comes out ok, but the next two get combined somehow. I am getting the second file with a little of the third....
Zones: Windows ProgrammingDate Answered: 02/21/2001 Grade: A Views: 0
Hi everyone, this code doesn't work properly. It writes 24 item on the disk. But it must be write 100 item. Where is the error?. any idea? Best Regards. Muraty #include "stdafx.h" #i...
Zones: C++Date Answered: 11/03/2002 Grade: A Views: 0
I ported a program that works perfect on Linux to windows. I used MSVC++ 6.0 on windows. Other than some minor changes everything went smoothly except for my file i/o. Basicallly I have 2 progra...
Zones: CDate Answered: 01/24/2003 Grade: A Views: 0
Here i have peace of code using to decrypt the encrypted file, original text files contains the information line by line, after encryption/decryption not able get in original format. any one of you...
Zones: JavaDate Answered: 12/02/2003 Grade: A Views: 0
Is there a reason that I cannot write a file out in such a way that when I open the file it opens just like an image file would, in hex.  Meaning, when I open a bmp file using Ultraedit, it opens t...
Zones: C++Date Answered: 06/22/2003 Grade: B Views: 0