2
Is there any way to import all libs from my program into one include
as in other languages : import re, datetime, math
( Python ) ?
After reading about pre-processing directives here ( Little is said about include
on this Wiki page ) I thought of something like importing the default libs from the system ( stdio, stdlib, stdbool, string, locale
... ) as external libs " stdio.h, stdlib.h "
, however I think that there is no ( Or unknown ) a delimiter to put between the same so that it works properly ... just out of curiosity even if someone knows would be grateful.
In addition to the Wikipedia article : Cpp Reference Preprocessor ( Talk about the C ++ )
Only complementing because the answer answers the question, the mechanism of Python is absurdly different from C, nor conceptually are the same thing, although it seems to a layman. even the terminology used in the question is not adequate, although it is understandable.
– Maniero
What would be the correct terminology ? - The desired primitivity of ' c ' sometimes really bothers, but that’s how it is and is powerful right ha ha
– Luis Souza
@bigown must be referring to the fact that libraries are not imported in C, but header files are included (that is, they are included textually in the body of the source file); these headers must declare the interface of a library, but not necessarily (can be used to implement a metaprogramming technique called X Macros, instead, for example).
– Wtrmute
@Exact Luissouza, that is the power of C. and Wrtmute understood correctly what I said. It may sound silly, but it has strong implications.
– Maniero
Very cool, a sim I’m abstracting my question but I have the understanding of what is imported because I recently studied Tad in ' c ', already the part of X Macros did not know vlw to inform ( I will look about )
– Luis Souza