Re: System.Console.WriteLine question

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: newsgroupie (newsgroupie_at_nospam.com)
Date: 11/26/04


Date: Fri, 26 Nov 2004 14:45:06 +0000 (UTC)

Hi Newsgroupies!

Thanks for all your help but what I really want to do is something like
we could do in the good old days with MFC, ie...

TRACE("The function returned %d\n", iReturnValue);

...And be able to see this in the output window.

I appreciate that .Debug & .Trace do a similar thing in C# but without
arguments as above.

Many thanks in advance,

newsgroupie



Relevant Pages

  • Re: System.Console.WriteLine question
    ... newsgroupie wrote: ... > we could do in the good old days with MFC, ... > ...And be able to see this in the output window. ... If replying to the group, please do not mail me too ...
    (microsoft.public.dotnet.languages.csharp)
  • how to debug without TRACE
    ... I am writing codes without mfc, I don't know how to send out the run-time ... output window, just like TRACE marco. ...
    (microsoft.public.vc.language)
  • Re: System.Console.WriteLine question
    ... ...i.e. pad the number out with leading spaces? ... Newsgroupie ... >> we could do in the good old days with MFC, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: System.Console.WriteLine question
    ... newsgroupie wrote: ... > How do I do the C# equivalent of the MFC code... ... > ...i.e. pad the number out with leading spaces? ... If replying to the group, please do not mail me too ...
    (microsoft.public.dotnet.languages.csharp)
  • Joystick interface
    ... How can I access a usb analogue/digital joystick using MFC? ... Any advice, ... 'Newsgroupie' ...
    (microsoft.public.vc.mfc)