Support Board
Date/Time: Mon, 13 Jan 2025 08:38:18 +0000
Post From: fonction ascil to recover the numbre of the chart
[2017-04-10 19:18:02] |
User210074 - Posts: 63 |
I test this but I have an error message that I do not understand. I test to write the number in a text file to see if everything is good. SCString Futures; Futures.Format("%s", sc.Symbol.GetSubString(4,0).GetChars()); string IndiceSierra = Futures; int NumberOfChart; NumberOfChart.Format("%s", sc.ChartNumber.GetInt().GetChars());/*L38 here*/ string LinkA{"C:\\SierraChart\\Data\\Temporaire\\"+IndiceSierra+".txt"}; ofstream FileA(LinkA.c_str(),ios_base::app); FileA<<NumberOfChart+" | ";/*<- just to see*/ FileA.close(); C:\SierraChart\ACS_Source\Test.cpp(38): error C2228: left of '.Format' must have class/struct/union Date Time Of Last Edit: 2017-04-10 19:31:38
|