I need to store all car information using class and sub class.
The user can store 80cars information for maximum.
The user need to input the detail and print out the detail.
You have a compile error.
Line 64: You're passing an int to setmanufacturer(), but setmanufacturer() is expecting a string.
You have some logical errors also.
Line 65: You call getmanufacturer() which returns a string, but you ignore the returned result.
Line 10: what is array for? As far as I can see, it serves no purpose.
You have no destructor for your Vehicle class, resulting in a memory leak because array is never released. Also, array is an uninitialized pointer if you use the default constructor.
Line 61: You ask the user how many cars they want to key in, but you don't input any car information from the user. You need a loop for this, plus an array or vector to store the cars.