Search:

Type: Posts; User: new2c95

Search: Search took 0.02 seconds.

  1. Replies
    13
    Views
    2,580

    Any possible way you get me the source somehow?

    Any possible way you get me the source somehow?
  2. Replies
    13
    Views
    2,580

    Is anyone able to give me a code example?

    Is anyone able to give me a code example?
  3. Replies
    13
    Views
    2,580

    But every file will have a different line size....

    But every file will have a different line size. Isn't there some way I could detect the line size?
  4. Replies
    13
    Views
    2,580

    What if the file is a binary file or the line is...

    What if the file is a binary file or the line is longer than 100 characters? Will that still work?
  5. Replies
    13
    Views
    2,580

    I've got some argument checking above the code...

    I've got some argument checking above the code I'm posting so this is just the main snippet



    FILE *fp;
    char *ch;
    ....
    if ((fp = fopen(argv[1], "rb")) != 0)
    {
    ...
  6. Replies
    13
    Views
    2,580

    Help Reading File Line By Line On Windows?

    Hello everybody,

    I was just wondering if someone could give me example code on how to read a file line by line and then later access them by doing something like



    lines[0] //Line number one...
Results 1 to 6 of 6