Skip to main content
Participant
September 3, 2018
Answered

how can i "print" to output window in visual studio

  • September 3, 2018
  • 1 reply
  • 1162 views

I want to print the value of some variables but cout isn't doing the trick. I #import <iostream> and call cout << x but it doesn't show up in the output window during debug. I'm getting logs from illustrator and I feel like I should be calling cout on some special illustrator class but can't figure out what it is. Sorry for the newbie question but any help is appreciated

This topic has been closed for replies.
Correct answer LeoTaro

You can use the OutputDebugString function to write to the debugger output window.

1 reply

LeoTaroCorrect answer
Inspiring
September 5, 2018

You can use the OutputDebugString function to write to the debugger output window.

Participant
September 5, 2018

Many thanks! Noob apologies, and so forth.