- 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
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Japan
Slovakia