My code:
int main ()
{
Read = fopen ("test", "rb");
readfile (Read);
fclose (Read);
Read = fopen ("test", "r");
Type: Posts; User: Asym
My code:
int main ()
{
Read = fopen ("test", "rb");
readfile (Read);
fclose (Read);
Read = fopen ("test", "r");
Then don't use Windows. ;D
Also, what parse function are you using? I couldn't find anything under man parse.
(The file is being opened as binary to ensure ftell returns the exact number.)
...
Alright, so I've got it working. It's a lot smaller and simpler than I thought it'd be too. Thanks for the help!
Thanks itsme, it works well now (no idea why it didn't before however). (Thanks for pointing out that small bug as well.)
I'll look into doing so CommonTater, I'll probably end up implanting it as...
Hello everyone,
I'm doing to skip the introduction and just get to the code:
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
char *output = NULL;