[Help]2 Questions
1.
Is there a function to delete the program once it have been ended?
Example:
Is there a function similar to AutoDelete?
2.
Why in an operator= we need to return this?
example :
Thank u 
Is there a function to delete the program once it have been ended?
Example:
Code:
#include <iostream>
using namespace std;
int main();
{
cout << "Test" << endl;
AutoDelete; //False function
return 0;
}
2.
Why in an operator= we need to return this?
example :
Code:
Duree Duree::operator=(const Duree &duree)
{
// code
return *this;
}


uree(int heures, int minutes, int secondes)