![]() |
"round" problems
each time I try round(something);
it says "call of function without prototype" how can I activate the function? |
Re: "round" problems
what ever are you talking about?
|
Re: "round" problems
Quote:
it converts floats to integers |
Re: "round" problems
If it's in the math library, you have to include the header file for it. I don't remember what the library's name actually is right now, but you'll have something like this:
Code:
#include <mathlib.h>EDIT: Looking it up, it's math.h, so you'll have: Code:
#include <math.h> |
Re: "round" problems
I already tried it, and it doesn't help. could you try it wit your code and check if it is a unique problem of mine, or maybe it is just included in a different file?
|
| All times are GMT -5. The time now is 00:00. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi