perceptual-sdk

Writing or Copying Visual C++ console output to text file

我与影子孤独终老i 提交于 2019-12-22 03:22:22
问题 I am working with Intel Perceptual Computing SDK Voice Recognition Module. Using Microsoft Visual Studio 2012 Professional, the SDK sample perceives the dictation and after processing the voice input prints it on the console window. All i want to do is to copy the output printed on console window and write it in a .txt file. I am following the general way but somehow the text written in file is just some numbers. // Callback for recognized commands and alerts class MyHandler: public