I agree with helios on this count. You seem to have problems with functions and references as arguments to functions.
I recommend reading through the tutorial on this site up to and including Classes (I), reading up on STL maps, and getting back to us after you're done.
No offense meant, but we don't think you're ready to tackle this.
Thank you for the links, I think should be ok for the time being. I'll have a read of the page and most likely close the topic after that. Once again thank you very much.
Edit: Just to make sure my understanding is correct...
Key is the 1st value and is the Element ID
T is the 2nd value and is the Element Type
Value is the Element Value
How many times do I have to say that it's not to parse cmdline options.
I want to store and read the options from a file so cmdline is used for overide only.
And I take it by your ignoring my previous post that I was on the right track with my understanding.
Oh and I'm going to bed now so any coding & discussion involvement will be done tommorrow or sunday.
I happen to have written some very sophisticated option/argument handling routines for various programs. You assume too much. Dealing with command-line vs file options are rarely orthogonal.
Bye.
@moorecm
That's what I was trying to remember! Nice!
Thank you all for your feedback, I think with everything provided here I should be able to solve the problem myself. Just 1 question, if I mark the topic as solved will I still be able to access the thread?
This is my first time using this forum so I don't want to accidently cut myself off from the information.
Edit: since noone repliec to this I suppose I will still be able access the thread so I'm marking the topic as solved now.