#include "stdio.h"

extern "C" int ftell(FILE* fp, long int offset, int whence)
{
    return fp->seekoff(0, ios::cur);
}
