I would like to not include whole "stdlib.h" or "math.h" or "stdio.h"
in my modules but write only used declarations with my own hand for
example
extern int rand(void);
etc
but when i comment //#include "stdio.h" mingw linker complains that it do
not see the symbols (though i wrote the declaration)
I suspect that it some cheat that maybe automaticaly links to stdlib binary when i am usling include and do not links to it when i do not use include, so i should
maybe provide it with -lsomething - but i do not know what to write in place
of something
am I right ? can i use symbols with including all the headers, what to -l link
in linker to make it work?
tnx for help
(im compiling in c++ mode othervise c code if this is important)