Well, the code is really only that one statement. But here goes.
btw, I'm not sure how to paste in code the correct way, so sorry if it's messy.
Code:
// Headers
#include <iostream.h>
#include <fstream.h>
#include <stdio.h>
#include <stdlib.h>
// Proto
int load(int loc);
// Main
int main()
{
load(1);
return 0;
}
// Load
int load(int loc=1)
{
ifstream readMe( "data file" );
char buff;
int count=1;
int isFound=0;
int length;
readMe.seekg(1);
readMe.get(buff);
cout << buff;
cout << length;
return 1;
} // end load