![]() |
strange problem of compiling
Hi ,
I urgently need help . I make a program that compute the area of triangle. When I run my program on my computer everything is OK. But when I run it on the school system I get this compilation error: ld: Unresolved: sqrt My function is fixed ..I mean the argument types have been imposed. Please can someone help me I just have few hours left. :
#include<iostream> |
You need the libm library, try adding -lm to the compile line
|
Quote:
|
| All times are GMT -5. The time now is 1:15 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC