D
D
Dreamerr2017-05-30 16:07:10
Books
Dreamerr, 2017-05-30 16:07:10

Why doesn't the error function and the std_lib_facilities library from Stroustrup's book work?

def003efc53c4dd7ad78ba1fdec72b65.pngI am new to programming. I'm learning c++ from Stroustrup's book. There, at first it was necessary to connect the non-standard library "std_lib_facilities", but I got an error and I did not want to figure it out.
Now I have a problem with the error () function, which is apparently located in this library. I need this function, but I can't connect the library! I downloaded the std_lib_facilities file from Stroustrup's website, threw it into the folder where my source programs are located (in which I include this library), wrote #include "std_lib_facilities.h", but for some reason the compiler gives errors that are in this library (not that the library is not connected, but something is wrong in the library itself).
What to do? The error function, as I understand it, was written by Stroustrup himself and cannot be found anywhere.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question