File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
LearningC/C_Language_Shorts Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ # File Types and extensions in C
2+
3+ ## Source
4+ > [ !TIP]
5+ > ** .c** | ** C** source \
6+ > ** .cpp** | ** C++** source
7+
8+
9+ You could use code_source.banana, but it's not usefull since:
10+ > [ !CAUTION]
11+ > the file extension defines features like\
12+ > syntax-highlighting and\
13+ > default application to use with file.
14+
15+ ## Header
16+ > [ !NOTE]
17+ > header-files contain information on how to use functions and variables from other files or libraries
18+
19+ > [ !TIP]
20+ > ** .h** | C/C++ headers
21+
22+ > [ !IMPORTANT]
23+ > ` #include <file.h> ` searches for _ file.h_ in system\
24+ > ` #include "file.h" ` searches for _ file.h_ in folders relative to source/header file
25+
26+ ## Objects and libraries
27+ > [ !NOTE]
28+ > ** .o** | object file (compiled) \
29+ > ** .a** | static library \
30+ > ** .so** | dynamic library (** s** hared ** o** bject)
31+
32+ ## Other file types
33+ > [ !NOTE]
34+ > ** .elf** | compiled elf format \
35+ > ** .hex** | compiled intel hex format \
36+ > ** .bin** | compiled binary
You can’t perform that action at this time.
0 commit comments