|
|
Invisible wrote:
> True. But presumably if you #include a file that defines a function
> prototype, you also need to compile and link whatever file it is that
> contains the source code for that function?
Nope. Only if you actually call the function. Don't confuse dependencies on
source files with dependencies on library files.
> (Except for the OS header
> files; I have literally *no clue* how that works...)
Exactly the same way, except the compiler by default knows where to look for
those libraries.
--
Darren New, San Diego CA, USA (PST)
"We'd like you to back-port all the changes in 2.0
back to version 1.0."
"We've done that already. We call it 2.0."
Post a reply to this message
|
|