![]() |
printf statements
hello. I was just wondering where do i put a printf statement if I'm using kevin watson's code? thanks!
|
Re: printf statements
You can put a printout anywhere inside a function after variable declarations. Just make sure each file that uses printf has a #include <stdio.h> so the function is defined.
|
Re: printf statements
indeed, what psy_wombats said is correct,
you can place PRINTFs everywhere, just be careful: * 1. not to forget the #include<stdio.h> on top of every page that has a printf * 2. try not to put it in vital areas, you don't wanna mess with functions that are time-sensitive, printf is a rather complicated function, that bites up a lot of mS |
| All times are GMT -5. The time now is 01:00. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi