#include <iostream> // std::cout, std::dec, std::hex, std::oct
int main () {
int n = 70;
std::cout << std::dec << n << '
';// write integer value using decimal base format.
std::cin >> std::dec >> n; //read integer value using decimal base format.
return 0;
}
Code Example |
---|
Cpp :: C++ Third angle of a Triangle |
Cpp :: make_move_iterator |
Cpp :: set platformio to C++14 |
Cpp :: c++ converting centimeters to meters |
Cpp :: c++ for loop |
Cpp :: change const value c++ |
Cpp :: c++ dictionary |
Cpp :: C++ Fahrenheit to Kelvin |
Cpp :: exit() in c++ |
Cpp :: c++ loop programs |
Cpp :: how to define an unsigned signal in VHDL |
Cpp :: extern shared memory |
Cpp :: newline in c++ |
Cpp :: c++ remove whitespace from string |
Cpp :: Arduino Sring to const char |
Cpp :: c++ std::fmin |
Cpp :: how to display a variable in c++ |
Cpp :: c++ string to integer without stoi |
Cpp :: or in cpp |
Cpp :: c++ main function |
Cpp :: initializing 2d vector |
Cpp :: sort function descending c++ |
Cpp :: delete file cpp |
Cpp :: copy 2 dimensional array c++ |
Cpp :: character array to string c++ stl |
Cpp :: time function c++ |
Cpp :: C++ Find the sum of first n Natural Numbers |
Cpp :: two pointer in c++ |
Cpp :: Resize method in c++ for arrays |
Cpp :: c++ get environment variable |