b***y 发帖数: 2799 | 1 ☆─────────────────────────────────────☆
minos (minos) 于 (Wed Oct 29 16:13:48 2008) 提到:
Write a C++ class for generating N integer numbers from 0 to N-1 in "
random" order. Also if given a text file with N integers, write a program to
test if all the numbers in the file are unique and are from 0 to N.
Try to write them in C++ format, and try to find a solution which saves time
and memory. In C++, use classes to hold the data and methods (functions),
then use main() function to create obje |
|