Basic concepts

This section provides definitions for the specific terminology and the concepts used when describing the C++ programming language. A C++ program is a sequence of text files (typically header and source files) that contain declarations. They undergo translation to become an executable program, which is executed when the OS calls its main function. Certain words in a C++ program have special meaning, and these are known as keywords. Others can be used as identifiers. Comments are ignored during t

std::basic_streambuf::snextc

int_type snextc(); Advances the input sequence by one character and reads one character. The function calls sbumpc() to advance the input sequence. If that function returns Traits::eof() meaning that input sequence has been exhausted and uflow() could not retrieve more data, Traits::eof() is returned. Otherwise sgetc() is called in order to read the character. Parameters (none). Return value The value of the next character. If the input sequence has been exhausted, Traits::eof() i

std::chi_squared_distribution::min

result_type min() const; (since C++11) Returns the minimum value potentially generated by the distribution. Parameters (none). Return value The minimum value potentially generated by the distribution. Complexity Constant. See also max returns the maximum potentially generated value (public member function)

std::basic_filebuf::open

std::basic_filebuf<CharT, Traits>* open( const char* s, std::ios_base::openmode mode ) (1) std::basic_filebuf<CharT, Traits>* open( const std::string& str, std::ios_base::openmode mode ) (2) (since C++11) Opens the file with the given name - either s or str.c_str(). The file is opened as if by calling std::fopen(s, modestring), where modestring is determined as follows: modestring openmode & ~ate Action if file already exists Action if file does not exis

stdexcept

This header is part of the error handling library. Classes logic_error exception class to indicate violations of logical preconditions or class invariants (class) invalid_argument exception class to report invalid arguments (class) domain_error exception class to report domain errors (class) length_error exception class to report attempts to exceed maximum allowed size (class) out_of_range exception class to report arguments outside of expected range (class) runtim

std::chi_squared_distribution::chi_squared_distribution

explicit chi_squared_distribution( RealType n = 1.0 ); (1) (since C++11) explicit chi_squared_distribution( const param_type& params ); (2) (since C++11) Constructs new distribution object. The first version uses n as the distribution parameter, the second version uses params as the distribution parameter. Parameters n - the n distribution parameter (degrees of freedom) params - the distribution parameter set

std::deque::rbegin

reverse_iterator rbegin(); const_reverse_iterator rbegin() const; const_reverse_iterator crbegin() const; (since C++11) Returns a reverse iterator to the first element of the reversed container. It corresponds to the last element of the non-reversed container. Parameters (none). Return value Reverse iterator to the first element. Exceptions (none) (until C++11) noexcept specification: noexcept (since C++11) Complexity Constant. See also rend crend r

std::fdim

Defined in header <cmath> float fdim( float x, float y ); (1) (since C++11) double fdim( double x, double y ); (2) (since C++11) long double fdim( long double x, long double y ); (3) (since C++11) Promoted fdim( Arithmetic1 x, Arithmetic2 y ); (4) (since C++11) 1-3) Returns the positive difference between x and y, that is, if x>y, returns x-y, otherwise (if x≤y), returns +0. 4) A set of overloads or a function template for all combinatio

std::messages::messages

Defined in header <locale> explicit messages( std::size_t refs = 0 ); Creates a std::messages facet and forwards the starting reference count refs to the base class constructor, locale::facet::facet(). Parameters refs - starting reference count

float

Usage float type: as the declaration of the type