> Возможно, SVG-исходники тех иллюстраций занимают больше :) Ох, не знаю, но это очень даже возможно, ибо PDF-файл книжки весит более 70 МБ.
Я её взялся было читать, но обломался. Страуструп начинает с хода конём: делайте, говорит, упражнения с моими заголовочными файлами, а не с системными.
// This program outputs the message “Hello, World!” to the monitor#include "std_lib_facilities.h"
int main() // C++ programs start by executing the function main
{
cout << "Hello, World!\n"; // output “Hello, World!”
return 0;
}
А про оный файл и где его взять написано аж в самой жо… приложении Цэ на странице 1199!
C.3.2 Use the std_lib_facilities.h header fileFor your first programs, we strongly suggest that
you use the custom header file std_lib_facilities.h from
www.stroustrup.com/Programming/std_lib_facilities.h.
Place a copy of it in the directory you chose
in §C.3.1, step 6. (Note: Save as text, not HTML.)
To use it, you need the line
#include "../../std_lib_facilities.h"
in your program. The “ ../../ ” tells the compiler
that you placed the header in C:\Documents and
Settings\Your Name\My Documents\Visual Studio
2005\ Projects where it can be used by all of your
projects, rather than right next to your source
file in a project where you would have to copy it
for each project.
Странный подход к обучению читателя программировать под живые системы, где страуструповых заголовков и библиотечек не будет.
И вообще книга странная. Более сложные вещи, уже требующие некоторых знаний, соседствуют с пояснениями на пальцах банальных вещей, словно для умственно альтернативных младенцев.