Okay, here is my problem.
I need to display a report, but I have to use a vector of strings to do this. It was suggested to me to convert the strings to a char array to do the formatting and then convert back to strings. Here's an example of what I have to do....
Number of points: 20 SD: 8.733
Mean: 46.112 UCL: 72.987
LCL: 19.986
Where each line of that section would be a string. I'm not sure how I can get each field to line up correctly like that. I'm fairly new with programming in C++, so maybe it's just my lack of knowledge in the language that is giving me problems.
Anyone have any suggestions?
thanks!
Ben
I need to display a report, but I have to use a vector of strings to do this. It was suggested to me to convert the strings to a char array to do the formatting and then convert back to strings. Here's an example of what I have to do....
Number of points: 20 SD: 8.733
Mean: 46.112 UCL: 72.987
LCL: 19.986
Where each line of that section would be a string. I'm not sure how I can get each field to line up correctly like that. I'm fairly new with programming in C++, so maybe it's just my lack of knowledge in the language that is giving me problems.
Anyone have any suggestions?
thanks!
Ben