That's not all of my code. It's pretty long so the braces may not all add up properly. I cut out most of the code just to give the idea.

I'm sure the indentation is horrible. It's a result of a bunch of cut and pastes. The main program is doing what I need it to so far.


by the way I'm not a programmer... I'm a wannabe who's a EE. I got a C in my C++ course. I'm definitely a hack. This is my first real crack at a program I've cared about. Cleaning up will be important if I do this again!