Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22093

How to write math library in C on ubuntu [closed]

$
0
0

I am just learning C and get an error. After searching on Google, I find out math.h does not work on Ubuntu and alsothey told to add -lm in gcc compailing bg but I want run on VScode Terminal but it show me error " undefined reference to `pow'collect2: error: ld returned 1 exit status " But i used math.h on it. What can i do now


Viewing all articles
Browse latest Browse all 22093

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>