Why is not all libraries added altogether instead of adding them one by one | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why is not all libraries added altogether instead of adding them one by one

why do we have to include all the libraries on by one. instead all of them can be added at once and then we can chose whatever function we want to. in case i got the term wrong then i am talking about the #include<cmath> etc stuff

10th Nov 2016, 10:42 AM
Eshant Verma
Eshant Verma - avatar
1 Answer
0
Because with command #include<cmath> we don't include the library, but only a text header file with deklaratins names of functions and others symbols from the library,
10th Nov 2016, 11:23 AM
Petr Hatina
Petr Hatina - avatar