| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
first of all .. thx for every member here and thx for this great forum ..
second .. i have problem to solve this problem in visual c im trying alot but dont know how to do it the problem is : ============ Write a class template that has a pointer to an array and the number of elements in the array as private members , the array should be of any type. your class should contain the following member functions: 病 function to print the contents of the array. 病 constructor to initialize the array with data and set size of the array. 病 function that finds and returns the maximum value in the array . 病 function that finds and returns the min in the array. 病 function to sort the array in descending order. 病 function that searches for an element in the array and returns its position if found and -1 if not found. in your main function define several objects with different types: int, char, string. im glad if any one can help me ... thx again need to know how it solve cause i have an exam on this point. |
![]() |
| Viewing: Tutorialized Forums > Desktop Programming > Visual C > Need ur help plz |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|