Back to Browse

C++ Drills - Objects, Types, and Values

68 views
May 28, 2025
41:22

Silent hacking using Emacs Org-mode. For a simple config file, see https://tinyurl.com/lyon-emacs. We cover: 1) How to create a C++ Org-mode code block 2) How to generate pseudocode from a programming problem 3) How to generate an input file on the shell (in Org-mode) 4) How to successively test the program as you build it 5) How to include a local header file (see below) 6) How to tangle the source code as .cpp file 7) How to make the executable on the command-line 8) How to run the final machine code on the command-line. Get the local header file "std_lib_facilities.h" here: https://tinyurl.com/std-lib-facilities-h Using: g++ 11.4.0-1 on Ubuntu 22.04 LTS with Emacs 30.1 and Org-mode 9.7.11. The exercise was taken from: https://stroustrup.com/programming.html, chapter 3, Objects, Types and Values (p. 84).

Download

0 formats

No download links available.

C++ Drills - Objects, Types, and Values | NatokHD