Say you're in a warehouse, one like FedEX Ground, I guess it's a warehouse, anyways, your task is to sort boxes into one of three belts depending on what the zip code is. Say you are kind of slow to learn how to do this in your head without looking at a sorting chart. You would need a program, or flash cards if you were stuck in the 50's.
I'm thinking I could start with a linked list, and maybe a little fstream magic and binary code and whatnot save the sorting chart to a file, that my little program could read, and then create a linked lisk subsequently and of course rearrange it and such. I could have the zips pop up and you could enter 1, 2, or 3 depending on which belt they go onto. This way you could learn how to be a better sorter at work.
I'm kindof just getting back into C++ after a bit of time with no computer/internet. Should I bother making a linked list or should I just use some kind of standard container?
How would you connect the zip code variable with said belt variable?



LinkBack URL
About LinkBacks




