Here is what I am wondering:
do the system header files (like iostream.h for C++ or stdio.h for C) only have function DECLARATIONS (ie prototypes) and not DEFINITIONS?
if so, where are these functions’ definitions? e.g. cout in C++, printf in C?
The attached picture suggests to me that the header files only have function prototypes, not definitions, and that the definitions are in the standard library, which the linker has access to. If this picture is accurate, where is the standard library? Is it a set of files on my system, or part of the compiler/linker?
Edit: I can’t attach an image...