I\'d like to output some data to a file. For example assume I have two vectors of doubles:
vector data1(10); vector data2(10);
I'd have thought the obvious answer is to make the function that performs the output take the heading text as a string parameter.