How to redesign #include <stdio.h> in C -


i working on project in c, in thinking cut short stdio.h header file , keep code need.

how shall this? plus know whether cutting short make difference speed?

header files interface files. (usually) not contain implementation code bloat application. table of contents compiler library files named such crt.o or libc.so.

if want, can try forward-declaring standard functions yourself, example:

extern int printf( const char *, ... ); 

this practice frowned upon , may not supported well. note such functions may defined in standard headers macros (as standard library binary file extern symbols), there may difference in performance or executable size, compared usual #include.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -