You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, the function Login can take const char * as parameters. The library does not output the user name and password. It is not necessary to pass char * as parameters. Using const char * will also allow us to use string literals without compilation warnings.
MD_ISODateTimeType is of type char[21]. I suggest to define a new type, for example, typedef const char MD_ConstISODateTimeType[21] and use this as the type of the two parameters.
For example, the function
Login
can takeconst char *
as parameters. The library does not output the user name and password. It is not necessary to passchar *
as parameters. Usingconst char *
will also allow us to use string literals without compilation warnings.https://github.com/abramwang/QuantPlusApi_Cpp/blob/7117dea1358b76d1ebab67476ab4acdae1aadd0e/include/PT_QuantApi.h#L352
The text was updated successfully, but these errors were encountered: