[Solved] How to google weird characters like “~” inside questions, for example what does that mean in c++ before a constructor?


Age::~Age()

is a destructor.

It does the exact opposite work of a constructor, that is it destroys the object when its scope is over.

Visit these links to understand better

http://www.tutorialspoint.com/cplusplus/cpp_constructor_destructor.htm

http://www.cprogramming.com/tutorial/constructor_destructor_ordering.html

If you want to know more about it just search for destructor c++ on google

This link might help you for your first question

How can I use a search engine to search for special characters?

https://webapps.stackexchange.com/questions/23/how-can-i-search-for-a-keyword-with-special-characters-in-google-search

solved How to google weird characters like “~” inside questions, for example what does that mean in c++ before a constructor?