Search:

Type: Posts; User: sm00t

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,370

    formatted system calls

    I need to perform a formatted system call, something like this.

    char *buf = "const.c";
    exec("cat %s >> out", buf);

    where exec is the hypothetical function. I just need something that can give...
  2. Thread: args

    by sm00t
    Replies
    6
    Views
    1,404

    Ok...my code is fixed, to the poin that it...

    Ok...my code is fixed, to the poin that it compiles correctly, but it does not work.

    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    FILE *in, *in1, *in2, *out1, *out2;
    int numsplit...
  3. Thread: args

    by sm00t
    Replies
    6
    Views
    1,404

    Ok, the program is not even close to being...

    Ok, the program is not even close to being complete and is still very simplistic, does not even feature a file splitting function yet...but, when I run it, it gives me an error Floating Point...
  4. Thread: args

    by sm00t
    Replies
    6
    Views
    1,404

    args

    I am writing a simple file splitter, and I need to know something. I am taking several arguements in for the program...and they go like so.
    fsplit <split/ammend> <file> <number of times to split>...
Results 1 to 4 of 4