Horje
prime template c++ Code Example
prime template c++
template<class T> bool isPrime(T n) 
{
	T i;
	if(i < 2) return false;
	for(i = 2; i * i <= n; i++) {
    	if(n % i == 0) return false;
    return true;
}




Cpp

Related
c++ calling variable constructor Code Example c++ calling variable constructor Code Example
fast scan in c++ Code Example fast scan in c++ Code Example
loop Code Example loop Code Example
selection sort Code Example selection sort Code Example
c++ expected an identifier Code Example c++ expected an identifier Code Example

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