搜索资源列表
10121
- 利用虚函数手段,按照三种不同的数据存储方式及其处理方法来实现如下的所谓“反序 输出问题”:从键盘输入n 个int 型数据先存储起来(具体n 值由用户从键盘输入),而后再 按照与输入相反的顺序将这些数据显示在屏幕上。 具体地说,可通过在基类baseCla 及其派生类method1Cla、method2Cla 和method3Cla 中说明如下的同一个虚函数“virtual void reverseout() ”,来实现所述问题的三种不同处 理方法。例如,可设计并使用已经在第四章
data_sort
- 在VC,建立单链表,输入链表数据,搜索链表数据,插入新链表元素。实现输入数据的排序和输出。-It s based on MS VC++6.0,to inputs the link data,search the data in the link, and insert the new data to the link. Realized sorting and outputing the data.