std::front_inserter

Defined in header <iterator> template< class Container > std::front_insert_iterator<Container> front_inserter( Container& c ); front_inserter is a convenience function template that constructs a std::front_insert_iterator for the container c with the type deduced from the type of the argument. Parameters c - container that supports a push_front operation Return value A std::front_insert_iterator which can be used to add elements to the beginnin

std::fseek

Defined in header <cstdio> int fseek( std::FILE* stream, long offset, int origin ); Sets the file position indicator for the file stream stream. If the stream is open in binary mode, the new position is exactly offset bytes measured from the beginning of the file if origin is SEEK_SET, from the current file position if origin is SEEK_CUR, and from the end of the file if origin is SEEK_END. Binary streams are not required to support SEEK_END, in particular if additional null

std::front_insert_iterator

Defined in header <iterator> template< class Container > class front_insert_iterator : public std::iterator< std::output_iterator_tag, void,void,void,void > (until C++17) template< class Container > class front_insert_iterator; (since C++17) std::front_insert_iterator is an OutputIterator that prepends elements to a container for which it was constructed. The container's push_front() member function

std::front_insert_iterator::front_insert_iterator

explicit front_insert_iterator( Container& c ); Initializes the underlying pointer to the container to std::addressof(c) . Parameters c - container to initialize the inserter with

std::frexp

Defined in header <cmath> float frexp( float arg, int* exp ); (1) double frexp( double arg, int* exp ); (2) long double frexp( long double arg, int* exp ); (3) double frexp( Integral arg, int* exp ); (4) (since C++11) 1-3) Decomposes given floating point value arg into a normalized fraction and an integral power of two. 4) A set of overloads or a function template accepting an argument of any integral type. Equivalent to (2) (the argumen

std::fread

Defined in header <cstdio> std::size_t fread( void* buffer, std::size_t size, std::size_t count, std::FILE* stream ); Reads up to count objects into the array buffer from the given input stream stream as if by calling std::fgetc size times for each object, and storing the results, in the order obtained, into the successive positions of buffer, which is reinterpreted as an array of unsigned char. The file position indicator for the stream is advanced by the number of charact

std::freopen

Defined in header <cstdio> std::FILE* freopen( const char* filename, const char* mode, std::FILE* stream ); First, attempts to close the file associated with stream, ignoring any errors. Then, if filename is not null, attempts to open the file specified by filename using mode as if by fopen, and associates that file with the file stream pointed to by stream. If filename is a null pointer, then the function attempts to reopen the file that is already associated with stream (

std::free

Defined in header <cstdlib> void free( void* ptr ); Deallocates the space previously allocated by std::malloc(), std::calloc() or std::realloc(). If ptr is a null pointer, the function does nothing. The behavior is undefined if the value of ptr does not equal a value returned earlier by std::malloc(), std::calloc(), or std::realloc(). The behavior is undefined if the memory area referred to by ptr has already been deallocated, that is, std::free() or std::realloc() has alre

std::fputws

Defined in header <cwchar> int fputws( const wchar_t* str, std::FILE* stream ); Writes given null-terminated wide string to the given output stream. Parameters str - null-terminated wide string to be written stream - output stream Return value Non-negative integer on success, WEOF on failure. See also fputs writes a character string to a file stream (function) wprintffwprintfswprintf prints formatted wide character output to stdout, a file st

std::fputwc

Defined in header <cwchar> wint_t fputwc( wchar_t ch, std::FILE* stream ); wint_t putwc( wchar_t ch, std::FILE* stream ); Writes a wide character ch to the given output stream stream. putwc() may be implemented as a macro and may evaluate stream more than once. Parameters ch - wide character to be written stream - the output stream Return value ch on success, WEOF on failure. If an encoding error occurs, errno is set to EILSEQ. See also fputcp