char c;

ifstream File;

int NumLine = 0;


File.open(FileDir, std::ios_base::out);

while(File.get(c))
{
     if(c == '역슬래쉬n') NumLine++;

}
File.close();



이거하면 작동은 의도한대로 파일 몇줄인지(= 역슬n 이 몇개인지) 잘 읽어주는데


File.get(c) 할때 cbv아님?? 어떻게 값이 들어가는거임?