阅读背景:

如何制作终端提示信息?

来源:互联网 

I have a image processing project in C++ using opencv. The program runs correctly and I get the desired output. However, I have some messages that I print out using the cout command. When I run the program using the terminal (./myprogram) the messages are displayed correctly. When I double click the executable file I get only the output (in my case a new video is created) But I do get the messages. How do I get the program to automatically prompt the messages when it is not run from the terminal. PS: I use ubuntu 14.04I have a image processing project in C++ using




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: