#include <limits>
int a = std::numeric_limits<int>::infinity();
float a = std::numeric_limits<float>::infinity();
double a = std::numeric_limits<double>::infinity();
...
Code Example |
---|
Cpp :: C++ (gcc 8.3) sample |
Cpp :: algorithm map values |
Cpp :: find largest number in each row in array c++ using function |
Cpp :: copy constructor in c++ questions |
Cpp :: an array that take different data type c++ |
Cpp :: draw point sfml |
Cpp :: qt c++ thread example |
Cpp :: binary algebra cpp |
Cpp :: why does the pointer value doesn;t change when I change it in funciton |
Cpp :: std::random_device |
Cpp :: play sound opencv video c++ |
Cpp :: auto keyword |
Cpp :: C++ Features |
Cpp :: c++ language |
Cpp :: c++ vs c# |
Cpp :: sort 3 numbers using swap cpp |
Cpp :: check if string in vector c++ |
Cpp :: polymorphism c++ virtual |
Cpp :: kruskal algorithm in c++ |
Cpp :: c++ sort a 2d vector by column |
Cpp :: declare a structer in cpp |
Cpp :: how to run a cpp file in visual studio |
Cpp :: what does : mean in c++ |
Cpp :: iteration in c++ |
Cpp :: qt how to make a file browser |
Cpp :: read from standard input cpp |
C :: C output color font |
C :: conio.h linux |
C :: C overwrite last line |
C :: data types in c |