文法:
#include <cstdio> long ftell( FILE *ストリーム );
ftell()関数は現在のストリームの位置を返します。エラーの発生時は-1を返します。
関連トピック: fgetpos, fseek, fsetpos