What is the job of the compiler? What does the linker do? Describe the differences between a compile error and a link error.

What will be an ideal response?


The compiler reads the source code and checks it for syntax (grammar) errors and if all correct builds the object files (*.obj). The linker combines the object files with the included libraries and builds the executable file. A compiler error is a syntax error found in the source code. The linker error usually means that C++ can’t find something, such as a function or an included library.

Computer Science & Information Technology

You might also like to view...

How would you prevent a local user from logging in on a vsftpd server using her system username and password?

What will be an ideal response?

Computer Science & Information Technology

The ________ function is used to determine the number of cells that contain a numeric value

A) COUNT B) COUNTA C) SUM D) AVERAGE

Computer Science & Information Technology

A ________ can be created so a reader can click on a page number and jump to that specific page

A) marker B) comment C) hyperlink D) quick style

Computer Science & Information Technology

What are some types of locks you can put on your phone?

What will be an ideal response?

Computer Science & Information Technology