I wish to write the contents of a large char array into a file. I open the file for writing and say, fp is the pointer to the file.
and I write :
Does fprintf write the whole array into the file or is there any inbuilt restriction.Because ,the final expeced file is not containing the whole array, the file writing process stops at a certain stage..actually this is a part of a bigger prog and I am speculating that the problem might lie here.. Can some one explain the internal working of this procedure..
All 4 RepliesReply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.