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.