Login Page - Create Account

Support Board


Date/Time: Sun, 28 Apr 2024 14:08:57 +0000



[Programming Help] - Basic c++ code

View Count: 1186

[2018-08-21 05:41:26]
fraalbe - Posts: 12
Hi, is it possible in SC to print out same variables in a "console" ascii window?
For example:
  // Section 2 - Do data processing here
  int z=99;
  cout << "The fourth result is " << z << '\n';
How can I open these console window to see the output?
Date Time Of Last Edit: 2018-08-21 05:43:56
[2018-08-21 16:22:07]
bradh - Posts: 854
No, but you can use the Windows Message Log:


SCString MessageOut;
MessageOut.Format("The fourth result is %i", z);
sc.AddMessageToLog(MessageOut, 0);

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account