10
votes
Accepted
What does the linker do?
The #include pre-processor directive does not copy the code from libraries to your source code. It deals with header files (i.e., the ones that end with the .h extension).
In the pre-processing ...
8
votes
What does the linker do?
Well, this is a really good question that I also( at a point of time) googled up and found this image, which is enough to explain everything
So, you can see in this image that the code is first pre ...
1
vote
clang-7: error: linker command failed with exit code 1 (use -v to see invocation
Try saying make then the name u want ur file to be called
ex- make hello
in the terminal
1
vote
Accepted
linker fails with exit code 1 in pset6
Because dictionary does not have int main () The purpose of dictionary.c is to hold the functions that are called upon by speller.c. Thus clang returns this error.
dictionary.h declares all the ...
Only top scored, non community-wiki answers of a minimum length are eligible