I'm trying to use the free command line C/C++ compiler for .NET and
when I try to debug a simple C program that uses printf(), I don't see
the output it produces. A console window does open when DBGCLR starts
the program, but nothing ever appears in it. The program contains
several printf() calls and I step through the program one line at a
time, so I believe this isn't a case of the console window closing too
quickly for me to see the output.
When I run the program from a command line, the printf() output
appears as normal.
I run the compiler with the command: cl /Zi /clr test.c
What do I have to do in order to see the printf() output when running
the program in DBGCLR?
when I try to debug a simple C program that uses printf(), I don't see
the output it produces. A console window does open when DBGCLR starts
the program, but nothing ever appears in it. The program contains
several printf() calls and I step through the program one line at a
time, so I believe this isn't a case of the console window closing too
quickly for me to see the output.
When I run the program from a command line, the printf() output
appears as normal.
I run the compiler with the command: cl /Zi /clr test.c
What do I have to do in order to see the printf() output when running
the program in DBGCLR?