M
Miner Jeff
My program reads a line of data from a text file and executes tests
based on the data. The tests either pass or fail.
I'd like to print to the screen a list of only the failed steps after
all the tests have been executed. For each failed step, I'd like to
include data items of various types (e.g., int, string, bool, long
long).
Is it possible to combine all the diverse data items for each failed
step into one element of an array? (E.G., converting each of the
items to a c-string, concatenating these c-strings, then adding the
resultant c-string as an element to an array.)
Otherwise, how would I create an array containing mixed data types?
Thanks,
Jeff
based on the data. The tests either pass or fail.
I'd like to print to the screen a list of only the failed steps after
all the tests have been executed. For each failed step, I'd like to
include data items of various types (e.g., int, string, bool, long
long).
Is it possible to combine all the diverse data items for each failed
step into one element of an array? (E.G., converting each of the
items to a c-string, concatenating these c-strings, then adding the
resultant c-string as an element to an array.)
Otherwise, how would I create an array containing mixed data types?
Thanks,
Jeff