|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (4 bit)
Join Date: Dec 2004
Posts: 8
|
C++ arrays
say you have an array in C++
array[ 9 ]; if the values of 0 through 4 in the array are only suppose to contain 1's entered by the user and 5 through 9 can only contain 2's....how do u stop the user from entering a 2 in 0 through 4 and a 1 in 5 through 9? |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|