using VS .net 2003, I have a load of data that has been supplied to me as a text file. The data is a large number of records that I want to convert into a different format, and output to a bin file (a one off operation)
I have created a macro to do almost all of it, but I want to add some additional information to each record. How do I add make a macro string object = some data I have copied, then when I have manipulated this string with my macro, add it to my formatted data on my Cpp page ?
(It's probably not the best way, but I am grabbing each line, re formatting it and outputting it as a series of *fs << myData; lines in my code (stupidly I assumed that macros might be easier than writing a one off program to input the data from one file, convert it, and then output it but now I have this problem I want to sort it !
Cheers
I have created a macro to do almost all of it, but I want to add some additional information to each record. How do I add make a macro string object = some data I have copied, then when I have manipulated this string with my macro, add it to my formatted data on my Cpp page ?
(It's probably not the best way, but I am grabbing each line, re formatting it and outputting it as a series of *fs << myData; lines in my code (stupidly I assumed that macros might be easier than writing a one off program to input the data from one file, convert it, and then output it but now I have this problem I want to sort it !
Cheers