stoi(//argument) function is used to convert string into int to_string(//argument) function is used to convert int into string Check Aman Dhattarwal's channel for strings
#include< iostream > using namespace std; class A { public : A(){ callA = 0 ; } private : int callA; void inc(){ callA++; } protected : void func( int & a) { a = a * 2 ; inc(); ...