![]() |
Error Message
I'm getting the following error message:
"Warning [2058] call of function without prototype" when I try to do the following code: printf("Seconds: %d \n",seconds); Problems? |
Re: Error Message
Quote:
Code:
#include "printf_lib.h" |
Re: Error Message
This doesnt have to do with the function being prototyped, but when it works, you will need to change your statement to:
Quote:
--Damian Manda |
Re: Error Message
Type casting is not the problem here. Even if the type cast is wroung the program will still compile, you'll just get undesired results thats all. Kinda like this
Code:
Printf("4 + 4 = %d"); |
Re: Error Message
The syntax error has already been pointed out. Damian was just pointing out a much harder to find logic error.
|
| All times are GMT -5. The time now is 09:02. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi