- Using gdb function breakpoints, conditional breakpoints and the watchpoint, continue, and finish commands, debug ch13_gdb_2.cpp.
- Use g++ -c -Wall -Weffc++ -Wextra x.cpp -o x.out to build out cpp files ch13_rca*.cpp. What do you see from their warning outputs?
- Why does static analysis produce false alarms, but dynamic analysis does not?
- Download ch13_tdd_v2.h/.cpp and perform next phase refactoring. In this phase, we will add a copy constructor, assignment operator, and element-wise operation operators such as +, -, *, /, and more. More specifically, we need to do the following things:
- Add the third test case to our test suite, that is, ch13_tdd_Boost_UTF2.cpp.
- Add the implementations of these functions to files; for example, ch13_tdd_v2.h/.cpp.
- Run the test suite to test them.
United States
United Kingdom
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Argentina
Austria
Belgium
Bulgaria
Chile
Colombia
Cyprus
Czechia
Denmark
Ecuador
Egypt
Estonia
Finland
Greece
Hungary
Indonesia
Ireland
Italy
Japan
Latvia
Lithuania
Luxembourg
Malaysia
Malta
Mexico
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Romania
Singapore
Slovakia
Slovenia
South Africa
South Korea
Sweden
Switzerland
Taiwan
Thailand
Turkey
Ukraine