For the 13th mastery of the TC1017 C++ course, you must import and use C++ libraries.
You may not have known, but you have been cokmlpeting this mastery ever since your first WSQ of the class. Ken taught us to include a library called:
<iostream>
and also to use:
namespace std;
These are libraries which simplify the code we write and are necessities for creating certain code.
For example, for the 10th WSQ, we were required to use Arrays and/or Vectors to calculate the sum, average, and standard deviation of a group of numbers. In order to complete this you must, first of all, use the square root function. This is included in a library called
<cmath>
for c++. Without inculding this library you willl not be able to complete the program. Also, when using Vectors, the library
<vector>
must be included because vectors are not included in the library:
<iostream>
nor when using
namespace std;
Mastery 13 by Asa Puls is licensed under a Creative Commons Attribution 4.0 International License.