1. Copy libstudent.a to the /usr/lib or /lib directory.
2. For example, if your project is test.c, you can compile it like this: gcc -o test test.c libstudent.a or gcc -o test test.c -lstuent.
The use of. So the library is the same.
Supplement:
I told you you were on the windows platform. . Is that cygwin? Copy libstudent.a to the /usr/lib or /lib directory, and copy the dll to the directory where the exe is located.
Yes. Compiling exe requires a file, and. Exe runtime requires dll files.