0
My requirement is to convert a sequence of number into a display string as below
Example
: Input 1,2,3,4,5,7,7,8,8,8,10,15,10,11,12,88,87,86
: Output 1-5,7-8,10-12,15,86-88
void makeDisplayString(std::vector<int>& vector, std::wstring& string)
{
if(vector.empty()) return; // If empty do...