What does return -1 do in a function called in main?What does return -1 inside of a function that is in main? Is there a difference between returning di...
Do these two methods of creating an object pointer give the same result? [quote]Line 5 creates such an object via new and assigns the resulting address to the pointer myCar...
Do these two methods of creating an object pointer give the same result?Hello. [code]int main() { //METHOD 1: Car *myCar = new Car; //METHOD 2 Car fredsCar; Car *f...
How to pass a dynamic array of objects as a function argument? (What the function outputs is not the matter at hand. I will not use double pointers, so go ahead an...
How to pass a dynamic array of objects as a function argument?The function call will be in main. Give me the code. P.s.: The Objects that the dynamic array po...
This user does not accept Private Messages