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