Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / printing variables

Author
Message
Nic
20
Years of Service
User Offline
Joined: 26th Jun 2004
Location:
Posted: 21st Feb 2008 19:42
Hi all,
I am trying to get the dbPrint() command to print an integer i have declared in my program, i keep recieving an error though



the code is sinmply so...

what am i doing wrong?
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 21st Feb 2008 19:44
It has to either be a double float or a LONGLONG.

Just do dbPrint( (LONGLONG)x );

Don't you just hate that Zotoaster guy?
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 21st Feb 2008 19:46 Edited at: 21st Feb 2008 19:47
... Or a char*.



Include "stdio.h" for it to work.

Nic
20
Years of Service
User Offline
Joined: 26th Jun 2004
Location:
Posted: 21st Feb 2008 19:50
Thanks a million all!

Login to post a reply

Server time is: 2024-10-08 11:32:09
Your offset time is: 2024-10-08 11:32:09