C++로 프로그램을 수정하고 일부 값을 디스크에 써야합니다.ifstream C++이 인식되지 않습니다.
내가 추가 한 섹션을 포함하고 I'¿m이 ifstream
을 사용하려고하지만, 인식되지 않는에서 #include <fstream>
:
인텔리 : 식별자 "ifstream은"
을 정의되지 않습니다 내가 무슨 일을하고 있어요 ? 감사합니다,
편집 : 는 여기에 내가 확신 할 수 없다, 당신의 코드를 보지 않고 코드
#include <fstream>
#include "stdafx.h"
#include "CommandHandling.h"
#include "Conversions.h"
#include "INIFileRW.h"
#include "ComPortTimeout.h"
CCommandHandling::CCommandHandling()
{
/* set up com port class, start from new. */
pCOMPort = NULL;
pCOMPort = new Comm32Port;
ifstream test; //Here I get the error cited above
... //More code here
...
...
...
}
그것은'std' 네임 스페이스에 있습니까? – chris
사용 방법을 보여주는 것이 유용 할 수 있습니다. '사용 : – ChiefTwoPencils
그것은 당신이 어떤하는 fstreams –