hi
Is it possible to write a linked list to a binary file so that each record occupies a seperate line. I want to keep an automatic count of records by counting the lines and giving the next...
Type: Posts; User: slow brain
hi
Is it possible to write a linked list to a binary file so that each record occupies a seperate line. I want to keep an automatic count of records by counting the lines and giving the next...
hi all,
I've got a problem with gets().
My program (cgi) lives on a web server and takes input from a form.
However when it is invoked it just hangs and times out. I'm told by an expert...
well I never, a+ did the trick!
I spent hours trying get it to work and I knew I must be close.
I settled on the following bit of code since it's nice and simple and seem's to do the trick ie...
Hi folks,
how would I count the lines in a file?
I want to get a new unique ID# for a simple DB by counting the records and assigning this number + 1 for each new record.
The lines in the .txt...
oops again!
I took the switch out of the loop and this works perfectly.
Not entirely sure why it needs the empty curly braces after the for loop but it won't work without them.
Thanks again.
...
prelude ,your code works!!
I stuck an else onto it and put the switch into the body of the loop and it works. Not quite perfect yet since it prints the correct answer three times, four times, five...
oops! I sent this to c# accidently, am I guilty of multiple posts with my first post?
read from .txt file & put into array?
Could someone give me a clue how to read a list of names (one per line...