adding the programs

This commit is contained in:
Jidong Xiao
2023-09-19 21:31:07 -04:00
parent d977af4cd5
commit fcbb7fe85d
6 changed files with 56 additions and 12 deletions

View File

@@ -0,0 +1,10 @@
bool** cake;
bool pie;
bool fudge;
pie = true;
cake = new bool*[5];
cake[1] = &pie;
bool* donut = new bool;
*donut = false;
cake[2] = donut;
cake[4] = &fudge;