User profile: Peter87

User info
User name:Peter87
Website:http://dataapa.net/
History
Joined:
Number of posts:11234
Latest posts:

Need a data structure where I can map a string to a type
It's not necessary to use an enum. It was just a suggestion.

How to get program to distribute input by alternating between two, multi-line string inputs
Do one thing at a time. First read all the inputs, then write all the output. You can use a contain...

Need a data structure where I can map a string to a type
Well, in that case you would have to use some other technique to accomplish what you want. Consider ...

Need a data structure where I can map a string to a type
But if the string is fixed at compile time why can't you just use the type directly? [code] using T...

Need a data structure where I can map a string to a type
What forces you to have the type as a string?