How do I use OutputDebugString to print a message that's in a string variable?

前端 未结 3 1517
感情败类
感情败类 2021-02-02 16:39

I recently had to do some changes in some Delphi code. Therefore, I have some basics questions:

  1. Generally, how do I output to the console?
  2. How do I output
3条回答
  •  日久生厌
    2021-02-02 17:30

    If you have a console application, just use write() and writeln() global functions. If you have a GUI application and want to create a separate console windows, things go tricky (this article will guide you through the process, though it's in C++).

提交回复
热议问题