Preprocessor Source File Inclusion

2 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$99.99
List Price:  $139.99
You save:  $40
€86.22
List Price:  €120.71
You save:  €34.49
£75.45
List Price:  £105.64
You save:  £30.18
CA$139.86
List Price:  CA$195.81
You save:  CA$55.95
A$153.05
List Price:  A$214.28
You save:  A$61.22
S$129.72
List Price:  S$181.62
You save:  S$51.89
HK$778.42
List Price:  HK$1,089.82
You save:  HK$311.40
CHF 80.26
List Price:  CHF 112.38
You save:  CHF 32.11
NOK kr1,012.99
List Price:  NOK kr1,418.23
You save:  NOK kr405.24
DKK kr643.93
List Price:  DKK kr901.53
You save:  DKK kr257.60
NZ$174.41
List Price:  NZ$244.18
You save:  NZ$69.77
د.إ367.21
List Price:  د.إ514.11
You save:  د.إ146.90
৳12,183.97
List Price:  ৳17,058.05
You save:  ৳4,874.07
₹8,934.85
List Price:  ₹12,509.15
You save:  ₹3,574.30
RM413.20
List Price:  RM578.50
You save:  RM165.30
₦144,150.21
List Price:  ₦201,816.06
You save:  ₦57,665.85
₨28,169.36
List Price:  ₨39,438.23
You save:  ₨11,268.87
฿3,196.99
List Price:  ฿4,475.91
You save:  ฿1,278.92
₺4,248.16
List Price:  ₺5,947.60
You save:  ₺1,699.43
B$533.46
List Price:  B$746.86
You save:  B$213.40
R1,711.02
List Price:  R2,395.49
You save:  R684.47
Лв168.60
List Price:  Лв236.05
You save:  Лв67.45
₩146,747.32
List Price:  ₩205,452.12
You save:  ₩58,704.80
₪325.55
List Price:  ₪455.78
You save:  ₪130.23
₱5,862.91
List Price:  ₱8,208.31
You save:  ₱2,345.39
¥15,614.93
List Price:  ¥21,861.53
You save:  ¥6,246.60
MX$1,829.31
List Price:  MX$2,561.11
You save:  MX$731.80
QR363.41
List Price:  QR508.79
You save:  QR145.38
P1,426.50
List Price:  P1,997.16
You save:  P570.66
KSh12,911.58
List Price:  KSh18,076.73
You save:  KSh5,165.15
E£4,744.19
List Price:  E£6,642.05
You save:  E£1,897.86
ብር15,386.80
List Price:  ብር21,542.13
You save:  ብር6,155.33
Kz91,590.84
List Price:  Kz128,230.84
You save:  Kz36,640
CLP$92,797.71
List Price:  CLP$129,920.51
You save:  CLP$37,122.80
CN¥707.45
List Price:  CN¥990.47
You save:  CN¥283.01
RD$6,245.87
List Price:  RD$8,744.47
You save:  RD$2,498.59
DA12,980.29
List Price:  DA18,172.93
You save:  DA5,192.63
FJ$227.10
List Price:  FJ$317.95
You save:  FJ$90.85
Q763.81
List Price:  Q1,069.37
You save:  Q305.55
GY$20,860.09
List Price:  GY$29,204.96
You save:  GY$8,344.87
ISK kr12,776.23
List Price:  ISK kr17,887.24
You save:  ISK kr5,111
DH925
List Price:  DH1,295.05
You save:  DH370.04
L1,684.76
List Price:  L2,358.73
You save:  L673.97
ден5,304.03
List Price:  ден7,425.86
You save:  ден2,121.82
MOP$799.68
List Price:  MOP$1,119.59
You save:  MOP$319.90
N$1,707.43
List Price:  N$2,390.48
You save:  N$683.04
C$3,669.07
List Price:  C$5,136.84
You save:  C$1,467.77
रु14,268.26
List Price:  रु19,976.13
You save:  रु5,707.87
S/335.56
List Price:  S/469.79
You save:  S/134.23
K428.54
List Price:  K599.98
You save:  K171.43
SAR375.13
List Price:  SAR525.20
You save:  SAR150.06
ZK2,285.75
List Price:  ZK3,200.15
You save:  ZK914.39
L439.21
List Price:  L614.92
You save:  L175.70
Kč2,080.54
List Price:  Kč2,912.84
You save:  Kč832.30
Ft32,871.66
List Price:  Ft46,021.64
You save:  Ft13,149.97
SEK kr945
List Price:  SEK kr1,323.04
You save:  SEK kr378.04
ARS$144,622.86
List Price:  ARS$202,477.79
You save:  ARS$57,854.93
Bs688.98
List Price:  Bs964.60
You save:  Bs275.62
COP$373,459.22
List Price:  COP$522,857.85
You save:  COP$149,398.63
₡49,708.35
List Price:  ₡69,593.67
You save:  ₡19,885.32
L2,625.50
List Price:  L3,675.81
You save:  L1,050.30
₲697,251.72
List Price:  ₲976,180.30
You save:  ₲278,928.58
$U3,948.12
List Price:  $U5,527.53
You save:  $U1,579.40
zł364.10
List Price:  zł509.76
You save:  zł145.65
Already have an account? Log In

Transcript

Hello, welcome to the 70 s tutorial in the c++ programming series. And in this problem we looking at the preprocessor. So for intention directive, we have a method that is basically this is a call to the preprocessor to copy the content of the specified file into where it is called. angle brackets signify a lot before, such as all your stream. But quotation marks signify a custom custom file. Usually, one that has been created by yourself or on there has actually just been added yourself.

Or maybe you download the fk hub, including OVA files is useful as it provides extra functionality and allows you to abstract code into separate and more manageable file. We've already been we've already been using the thought file inclusion directive. Let's just show you so from appeal project This row here is the source file inclusion directive. Hash include basically includes a file File Stream in this case, and these angle brackets usually signify at night before you can make custom for the library file as well, or, or the built in ones like File Stream. And mentioned quotation marks if you have to include quotation marks. This is usually a custom file and into a book or something like header followed dot height, that would be the syntax.

Tomorrow, we don't have any color so if we run it, we get built and saying head of all dot h not phone. Later on in this series, we will look at abstracting code into separate files so we have a header file to include. But that's it for the preprocessor. So for inclusion directive, in the next part of the series, we're going to be looking at opening the file. If you have any questions feel free to message us or support us on our systems. Cody K. email will be in the description.

You can comment on this video. Just are killing messages via YouTube or the recording full source code will also be in the description as usual. Thanks for watching and I hope you have a great day.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.