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...
Type: Posts; User: sm00t
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...
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...
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...
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>...