.H 파일 확장자
C/C++/Objective-C Header File
| 개발사 | 해당 없음 |
| 인기도 |
3.8 | 162 투표 |
H 파일이란 무엇인가요?
An H file is a header file referenced by a document written in C, C++, or Objective-C source code. It may contain variables, constants, and functions that are used by other files within a programming project. H files allow commonly used functions to be written only once and referenced by other source files when needed.
추가 정보
H header files are typically used to store C function declarations, as well as macro definitions, which can be used by multiple source files. Header files can be inserted into a .C source code file using the #include directive.
참고: H files may also store headers for C++ source code, but those headers are typically saved as .HPP files.
H 파일을 여는 방법
Since header files are plain text files, you can open and view the file contents in a text editor. However, it's easier to edit *.h files and other source code files using a code editor like Microsoft Visual Studio or Apple Xcode. These editors provide helpful programming tools like line numbers, syntax highlighting, and source code error checking.