I have the following code:
output << ", " << array[i];
This works fine but I'm left with an extra comma as it goes through a loop.
[, (0, 0), (0, 0)]
Any suggestions as to how I can remove the first comma + space white before the first open bracket ?
I've tried using output.ignore however this throws up an error ?