Search:

Type: Posts; User: ojm

Search: Search took 0.01 seconds.

  1. Replies
    20
    Views
    3,200

    Tabstop, thank you very much for you help. I've...

    Tabstop, thank you very much for you help. I've finished my program and it works a treat. I've put the code below if anyone ever wants it in the future.


    #include <stdio.h>
    #include <string.h>...
  2. Replies
    20
    Views
    3,200

    So if the directory is changed before writing to...

    So if the directory is changed before writing to the tempory files it will work? Is there a simple line of code that can open the directory and then from then on use that directory?



    Thanks for...
  3. Replies
    20
    Views
    3,200

    By this, do you mean that the file selected has...

    By this, do you mean that the file selected has to be in the folder that the output tet files are?

    Another question while I am at it. Is there a way to run the program from the command prompt in...
  4. Replies
    20
    Views
    3,200

    Well. My compiler didn't have errno.h, so I just...

    Well. My compiler didn't have errno.h, so I just changed complier.. and guess what: it now works with EVERY combination of file name. That is pretty annoying. Sorry for the wasted time all. For the...
  5. Replies
    20
    Views
    3,200

    C:\DOCUME~1\pzqkvv\Desktop\INDEX_~1>split Enter...

    C:\DOCUME~1\pzqkvv\Desktop\INDEX_~1>split
    Enter Filename: 20090101a.txt
    Opening 20090101a.txt...
    20090101a.txt Opened Successfully.


    ACD.txt Opened Successfully....
  6. Replies
    20
    Views
    3,200

    Okay, its no an eight character problem, I came...

    Okay, its no an eight character problem, I came to that assumption a bit early. But look at these results:

    Enter Filename: index20090101.txt
    Opening index20090101.txt...
    Error Opening File:...
  7. Replies
    20
    Views
    3,200

    Figured it out: it works with text files that...

    Figured it out: it works with text files that have 8 characters or less in the name of the file. This would explain why I was thinking it would only work for YYYYMMDD.txt files, not ones with words...
  8. Replies
    20
    Views
    3,200

    I don't understand why it cannot work for any...

    I don't understand why it cannot work for any format. By format I mean the text files name. The data within the text file is the same each time. The program asks for the file name, so should there be...
  9. Replies
    20
    Views
    3,200

    .txt file splitter partial program

    Hi guys, I've got some code for a C program that splits a text file.

    It splits a text file into different components, and currently works for text files with YYYYMMDD.txt format. For example, here...
Results 1 to 9 of 10