From c15a9255455e31bf477a8b854f894ce3bd215356 Mon Sep 17 00:00:00 2001 From: Ben Couturier <Ben.Couturier@cern.ch> Date: Tue, 13 Oct 2020 14:16:12 +0200 Subject: [PATCH] Harmonize doc with new source names --- code/polymorphism/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/polymorphism/README.md b/code/polymorphism/README.md index 32e6338..6f7a441 100644 --- a/code/polymorphism/README.md +++ b/code/polymorphism/README.md @@ -2,7 +2,7 @@ ## Instructions for the "polymorphism" exercise * look at the code -* open `test.cpp` +* open `trypoly.cpp` * create a Pentagon, call its `perimeter` method * create an Hexagon, call its `perimeter` method * create an Hexagon, call its parent’s `perimeter` method @@ -12,7 +12,7 @@ ## Instructions for the "compiler chain" exercise * preprocess `Polygons.cpp` (`cpp` or `gcc -E -o output`) -* compile `Polygons.o` and `test.o` (`g++ -c -o output`) +* compile `Polygons.o` and `trypoly.o` (`g++ -c -o output`) * use `nm` to check symbols in '.o' files * look at the `Makefile` * try `make clean; make` -- GitLab