Horje
What is a ~ in c++ Code Example
What is a ~ in c++
class Entity{
  public: 
  	~Destructor();
  	//This is a destructor, which destroys instances and can free up memory.
};

//Source for answer:
// https://stackoverflow.com/questions/1395506/in-c-what-does-a-tilde-before-a-function-name-signify

//Other Sources:
// https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_74/rzarg/cplr380.htm




Cpp

Related
new float array c++ Code Example new float array c++ Code Example
check if equal to \ char or not c++ Code Example check if equal to \ char or not c++ Code Example
insertion overloading in c++ Code Example insertion overloading in c++ Code Example
c++ if bool true Code Example c++ if bool true Code Example
print reverse number Code Example print reverse number Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10