Quantcast
Channel: Undefined reference to `round' c language - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Aif for Undefined reference to `round' c language

In command line, you must specify -lm option to gcc to link the math lib. You have to find how to do so in eclipse.

View Article


Undefined reference to `round' c language

I'm using those imports #include <stdio.h> #include <math.h> and I'm getting undefined reference to `round' at this line: double res = round(atof(nextVal)); nextVal is a double value read...

View Article

Browsing latest articles
Browse All 2 View Live


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