Oh - the reason why the input file is ".." is because the Windows filepath uses the backslashes so I think they are seen as escape characters, so ..\..\bin\filename.txt only becomes ".." through my regex parser.
Expand|Select|Wrap|Line Numbers
- ret = fseek( fp, 0L, SEEK_END );
- if ( ret == -1 )
- {
- printf( "unable to open input file\n" );
- fclose( fp );
- return -1;
- }