I am really curios that when i go to the declaration of some functions in C++/C
i only see their function prototypes and only some have full functions, i am curios are there any files that contain the original function? for example printf...
in stdio.h there is
_Check_return_opt_ _CRTIMP int __cdecl printf(_In_z_ _Printf_format_string_ constchar * _Format, ...);
thats the prototype so where is the original printf stored in? and other functions..
The compiled code for printf is stored in the standard C library which is automatically linked into your program by the linker. The name and location depend on which compiler you're using.
The source code for the functions is usually not included with the compiler.