Search:

Type: Posts; User: slow brain

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    848

    linked list->binary file problem

    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...
  2. Replies
    1
    Views
    926

    gets() has got me!

    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...
  3. Replies
    4
    Views
    7,024

    well I never, a+ did the trick! I spent hours...

    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...
  4. Replies
    4
    Views
    7,024

    how do I count the lines in a text file?

    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...
  5. Replies
    6
    Views
    15,107

    oops again! I took the switch out of the loop...

    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.
    ...
  6. Replies
    6
    Views
    15,107

    prelude ,your code works!! I stuck an else...

    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...
  7. Replies
    6
    Views
    15,107

    read from .txt file & put into array?

    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...
Results 1 to 7 of 8