| | |
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
Views: 3225 | Replies: 12
| Thread Tools | Search this Thread |
Tag cloud for C
adobe ansi api array arrays bash binarysearch centimeter char convert copyanyfile copypdffile cprogramme createcopyoffile createprocess() csyntax directory drawing dynamic executable fflush file fork frequency getlasterror givemetehcodez global graphics gtkgcurlcompiling hardware highest homework i/o inches infiniteloop initialization interest km lazy linked linkedlist linux linuxsegmentationfault list locate logical_drives match matrix meter microsoft motherboard multi mysql open opendocumentformat opensource owf pattern pdf performance pointer pointers posix power problem probleminc program programming pyramidusingturboccodes read recursion recv repetition scanf scheduling segmentationfault send shape socketprograming spoonfeeding stack standard strchr string strings structures student suggestions system systemcall test testautomation unix user visualstudio voidmain() wab win32 win32api windows.h





