Search
 
SCRIPT & CODE EXAMPLE
 

CPP

int_min in cpp

//To get the maximum and minimum integer value
#include<iostream>
#include <bits/stdc++.h>
using namespace std;
int main(){
  int n,m;
  n=INT_MIN;
  m=INT_MAX;
  cout<<n<<"
";
  cout<<m<<"
";
  return 0;
}
Comment

c++ min int

int min = INT_MIN;
Comment

PREVIOUS NEXT
Code Example
Cpp :: c++ basic snippet 
Cpp :: print duplicate characters from string in c++ 
Cpp :: how to set a variable to infinity in c++ 
Cpp :: std vector random shuffle 
Cpp :: unique_ptr syntax 
Cpp :: Palindrome String solution in c++ 
Cpp :: how to add c++14 in sublime text 
Cpp :: last character of std::string 
Cpp :: sort vector of strings 
Cpp :: c++ map insert 
Cpp :: how to compare two char* in c++ 
Cpp :: notepad++ 
Cpp :: Converting to string c++ 
Cpp :: operand-- c++ 
Cpp :: c++ compile to exe command line 
Cpp :: length of number c++ 
Cpp :: Visual studio code include path not working c++ 
Cpp :: how to make window resizable in sdl 
Cpp :: 31. Next Permutation leetcode solution in c++ 
Cpp :: C++ :: 
Cpp :: enum c++ 
Cpp :: string reverse iterator c++ 
Cpp :: cpp execute command 
Cpp :: how to check char array equality in C++ 
Cpp :: reference c++ 
Cpp :: print reverse number 
Cpp :: what is function c++ 
Cpp :: stoi in c++ 
Cpp :: closing a ifstream file c++ 
Cpp :: len in cpp 
ADD CONTENT
Topic
Content
Source link
Name
1+4 =