This repository contains Section 02 content for Advanced C Programming: Pointers by Huw Collingbourne, which covers addresses and indirection.
Please note, this repository is a work in progress and will udpated over time.
Please feel free to reach out to me at john2285@stthomas.edu if you have any questions or comments. In addition, feel free to utilize the source code for your consumption and edification.
~ Matt Johnson
To compile, build, and execute the Section 02 files and directories,
(1) click on the blue "Code" button above and click the
"Download Zip" link, or
(2) copy the code and paste it directly into your preferred
Integrated Development Environment (IDE), CLion, CodeLite,
or Code::Blocks, for example, or your preferred text editor,
Vim, Nano, or Emacs, for example, and either
(3) compile, build, and run the file in your IDE, or
(4) use the following command-line script in C:
$ gcc name_of_file.c -o main
$ ./main
(5) use the following command-line script in C++:
$ g++ name_of_file.cpp -o main
$ ./main
(6) use the following command-line script in Python:
$ python3 name_of_file.py