2013-03-04 1 views
-4

저는 C++을 배우고 있습니다. 내가 사용"fiostream.h"파일을 찾을 수 없습니다.

#include <fiostream.h> 

아무리 : 난 아무데도이 "fiostream.h"파일을 찾을 수 없습니다

#include <fiostream> 

#include "fiostream" 

#include "fiostream.h" 

여기 내 질문이다.

여기서 "fiostream.h"파일을 찾을 수 있습니까?

"iostream.h"에는 "fiostream.h"의 기능이 포함되어 있습니까?

"fiostream.h"와 "iostream.h"의 차이점은 무엇입니까?

+0

당신은 아마도 fstream을 시도하고 있습니까? – Gjordis

+1

헤더가 존재하지 않습니다. –

+0

[여기] (http://en.cppreference.com/w/cpp/header)가 표준 헤더입니다. 'fiostream'은 하나가 아닙니다. – David

답변

3

"fiostream.h"와 "iostream.h"의 차이점은 무엇입니까?

차이점은 "f"입니다. 그러나 헤더가 존재하지 않습니다. iostream 않습니다, fiostream 않습니다 (그러나 fstream 않습니다).

0

<fiostream[.h]> 또는 <iostream.h> 헤더가 없습니다.

  • 앞으로 선언 : :이 I/O 라이브러리는 다음과 C++ 표준 라이브러리 헤더를 제공 <iosfwd>
  • 표준 iostream 개체 : <iostream>
  • IOSTREAMS 기본 클래스 : <ios>
  • 스트림 버퍼 : <streambuf>
  • Fromatting 및 조작기 : <istream>, <ostream>, <iomanip>
  • 문자열 스트림 : <sstream>
  • 파일 스트림 : <fstream>, <cstdio>.

C++ 표준 라이브러리 헤더는 C 라이브러리 헤더 인 .h으로 끝나지 않습니다. C 라이브러리 헤더의 C++ 표준 라이브러리 버전은 c 문자로 시작합니다. 예를 들어, cstdiostdio.h의 C++ 버전입니다.

0

fiostream은 C++에는 없지만 iostream.h가 있습니다. 이 헤더를 포함하면 ios, streambuf, istream, ostream 및/또는 iosfwd와 같은 다른 헤더가 자동으로 포함될 수 있습니다.

사용 가능한 C++ 표준 헤더는 향후 연구를 위해 링크되어 있습니다. click here for more details

관련 문제