Is there a way to #include “library.a” or it’s .so or it’s .o inside a cpp or cc file?
I would like to do this because I am using this file inside another file.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
#includeis for C++ code..a,.soand.ofiles are not C++ code.It’s more likely that you want to
#includea C++ header file (typically ending in.hor.hpp), and link an object file.