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 / Output from running program

Author
Message
Mishak
15
Years of Service
User Offline
Joined: 30th Oct 2009
Location:
Posted: 31st Oct 2009 03:42
As usual, I am learning Dark GDK, and I have a few questions. Here is the first one:
I made a simple 2D demo application, and trying to get debugging output from the running program. Nothing works.

1. #include <iostream> with std:: cout wouldn't build, multiple complains about libraries
2. #include <stdio.h> with printf("%s", "Application Started");
successfully built and running, but I cannot see that output in any VC8 windows, including immidiate window with redirection of all output done in tools/options/debugging.

What is wrong or what other options do I have?
puppyofkosh
17
Years of Service
User Offline
Joined: 9th Jan 2007
Location:
Posted: 31st Oct 2009 05:49
try using dbText (xpositionoftext, ypositionoftext, text)
Mishak
15
Years of Service
User Offline
Joined: 30th Oct 2009
Location:
Posted: 31st Oct 2009 09:23
I don't want to print into application window, but somewhere into standard output stream as the standard console (like cmd for openGL apps, or output window in VC8)
Mistrel
Retired Moderator
19
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 31st Oct 2009 11:47 Edited at: 31st Oct 2009 11:48
Did you remember to include the std namespace?

Mishak
15
Years of Service
User Offline
Joined: 30th Oct 2009
Location:
Posted: 31st Oct 2009 16:37
Yes, I tried. But even if it'd work, where would it go?

Login to post a reply

Server time is: 2024-11-20 11:36:34
Your offset time is: 2024-11-20 11:36:34