- #1
CFDFEAGURU
- 783
- 10
Hello all,
I am using 2008 C++ Express edition on a Windows XP machine and I have the following question regarding use of a map.
How would you use a map to do the following:
The user enters a pipe size, say 1/8" NPS, now there are three possible schedules for that pipe size. They are 10S, 40S Std, 80S Ex Hvy.
So once the pipe size of 1/8" NPS is entered by the user the three schedules are then printed for the user to select from.
Note: This is just a simplified example, in the real program there are many sizes of pipe to choose from and many schedules.
Any help would be greatly appreciated.
Thanks
Matt
I am using 2008 C++ Express edition on a Windows XP machine and I have the following question regarding use of a map.
How would you use a map to do the following:
The user enters a pipe size, say 1/8" NPS, now there are three possible schedules for that pipe size. They are 10S, 40S Std, 80S Ex Hvy.
So once the pipe size of 1/8" NPS is entered by the user the three schedules are then printed for the user to select from.
Note: This is just a simplified example, in the real program there are many sizes of pipe to choose from and many schedules.
Any help would be greatly appreciated.
Thanks
Matt