mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 04:19:19 +02:00
Obsługa rozkładu jazdy przetłumaczona na C++.
This commit is contained in:
@@ -919,4 +919,12 @@ double Global::CutValueToRange(double min, double value, double max)
|
||||
return value;
|
||||
};
|
||||
|
||||
std::string Global::to_string(int _Val)
|
||||
{
|
||||
std::string str;
|
||||
int num = 3;
|
||||
sprintf((char*)str.c_str(), "%d", _Val);
|
||||
return str;
|
||||
};
|
||||
|
||||
#pragma package(smart_init)
|
||||
|
||||
Reference in New Issue
Block a user