こんにちは。VC++で以下のコードを実行すると、ファイルを見つけられないと、エラーになるのですが、
ファイルはコードのあるディレクトリのどこにおけばいいのでしょうか。
いろいろ試したのですが該当なしでした。。。
よろしくお願いします。

int input_statement_from_file(char *one_statement, int *statement_length)
{
FILE *fp;
char filename[64],
input_one_statement_buff[65536];
int state = 0,
length = 0;

gets_s(filename);

if ((fp = fopen(filename, "r")) == NULL){
printf("ERROR: could not open file. \n");
state = 1;
goto exit;
}
/* Get data till ";" detection */
while(fgets(input_one_statement_buff, 65536, fp) != ";")
{
length++;
state = 0;
}
fclose(fp);
exit:
return state;
}