| | |
Reading and Writing file
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Sep 2006
Posts: 26
Reputation:
Solved Threads: 0
•
•
•
•
The only diffrence is the while loop and the declaration of spaceOcured. There is no sense that mod2 is not created. Create a new dir and copy the c file and the modt.txt. Try again. It should create the file modt2.txt. Do you heve this error message error:unable to open the filed? If U still have problem comment the while loop and leave only the fopen functions and see the result. none ....no error messgae displayed....when i run the exe... window screen is black then quits...
okie i'll try without the while loop
![]() |
Similar Threads
- problems with reading random access line from a file (C++)
- Reading numbers from a text file (Java)
- C++ Reading from a text file (C++)
- What errors can occur while reading a file? (C)
- Reading specific line in a file. / Searching (C++)
- Read/write to same file > once, Help (C++)
- Reading binary data from a file and writing it (Visual Basic 4 / 5 / 6)
- writing to a file (Java)
- file input and output (C)
Other Threads in the C Forum
- Previous Thread: Binary Search of an array of three strings
- Next Thread: passing strings
| Thread Tools | Search this Thread |
Tag cloud for C
#include * append array arrays asterisks binarysearch calculate changingto char character cm command copyimagefile cprogramme creafecopyofanytypeoffileinc database directory dynamic execv feet fgets file fork forloop framework function functions givemetehcodez grade graphics gtkwinlinux hacking histogram homework inches include incrementoperators input intmain() iso kernel keyboard km lazy license linked linkedlist linux list lists locate logical_drives looping loopinsideloop. lowest matrix microsoft mqqueue number oddnumber odf opendocumentformat opensource overwrite owf pdf performance pointer posix problem probleminc process program programming radix recursion recv recvblocked research reversing scanf scripting segmentationfault sequential socket spoonfeeding standard string student systemcall testing threads turboc unix user variable wab whythiscodecausesegmentationfault windowsapi





