Which compiler switch to be used for compiling the programs using math library with g++ compiler?

Trainee Asked on August 15, 2019 in C++ Language.
Add Comment
1 Answer(s)

Opiton –lm to be used as > g++ –lm <file.cpp>

Supporter Answered on August 15, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.