Horje
check variable type c++ Code Example
how to check datatype of a variable in c++
#include <typeinfo>
...
cout << typeid(variable).name() << endl;
check variable type c++
	if (typeid(variable) == typeid(std::string)) {
		std::cout << variable << " is a string" << std::endl;
	}
	else {
		std::cout << variable << " is not a string" << std::endl;
	}//you can do this for every type 




Cpp

Related
stack implementation using linked list in cpp Code Example stack implementation using linked list in cpp Code Example
qt messagebox Code Example qt messagebox Code Example
convert whole string to lowercase c++ Code Example convert whole string to lowercase c++ Code Example
c++ string to wstring Code Example c++ string to wstring Code Example
max three values c++ Code Example max three values c++ Code Example

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