Can you tell me what a preprocessor directive looks like? I include the hashtag before the word include? My book uses SALES_DATA as an example. Are there others?
I don't remember.
If you just want to code in C++ rather than write a fresh new compiler for it then don't worry about macros and preprocessor directives. You need the include directive, but most directives you don't need. Include is simple. It appends or inserts the contents of one file into another and does this before compiling takes place.
You are looking for help with writing macros. If you can get help writing macros, that is going to help you with preprocessors. Preprocessors use macros, and preprocessor directives are related to macro languages. Check your book to see if it talks about macro programming. Macros are not at all like C++. They are recursion based languages which focus upon text processing of recursively defined structures (such as C code).
If you have a programming book about C++ there may be something about the preprocessing directives in the appendix or possibly something about macros. When talking about preprocessors you are leaving 'Programming' and getting interested in 'Computer Science', and so the materials become more abstract and lengthy. That is why your book probably does not talk about them very much. Many books about this assume that compilers fascinate you and that you want to write one or several, just for fun. It is assumed that you know about finite state machines and are interested in the provability of code and its big O and lexers and tokenizers and code trees and LLVM language. All of that is chipmunk language to me. I'm interested in using computers not in becoming one.