diff --git a/luku01.tex b/luku01.tex index 4b9215d..d04325c 100644 --- a/luku01.tex +++ b/luku01.tex @@ -77,8 +77,8 @@ is not an unfair advantage in the contest. All examples in this book are written in C++, and the data structures and algorithms in the standard library are often used. -The standard is C++11 that can be used in most -contests. +The book follows the C++11 standard +that can be used in most contests nowadays. If you can't program in C++ yet, now it is a good time to start learning. @@ -93,19 +93,19 @@ looks like this: using namespace std; int main() { - // koodi tulee tähän + // solution comes here } \end{lstlisting} The \texttt{\#include} line at the beginning -is a feature in the \texttt{g++} compiler +of the code is a feature in the \texttt{g++} compiler that allows to include the whole standard library. Thus, it is not needed to separately include libraries such as \texttt{iostream}, \texttt{vector} and \texttt{algorithm}, but they are available automatically. -The following \texttt{using} line determines +The \texttt{using} line determines that the standard library can be used directly in the code. Without the \texttt{using} line we should write,