C ++ implementation

I read this line in a book: "When we request a C ++ implementation to run a program, it does this by calling this function."

And I'm wondering what “C ++ implementation” means or what it is specifically. Help!

+3
source share
2 answers

"C ++ implementation" means the compiler plus the linker plus the standard libraries plus the system in which the program actually runs. Everything except your source, basically.

Implementation is what implements the C ++ standard.

Thus, the book does not say that any particular thing calls your function. Most likely, the whole package or some part of it guarantees that it is called main.

, , , .

+8

, ++ - . , , main.

0

Source: https://habr.com/ru/post/1777312/


All Articles