별의 공부 블로그 🧑🏻‍💻

🗒️ 2017/11 (143)

728x90
  1. 2017.11.08 [BOJ10952][C++] A+B - 5

    문제두 수 A와 B를 입력받은 다음, A+B를 출력하는 프로그램을 작성하시오. 입력입력은 여러 개의 테스트 케이스로 이루어져 있다. 각 테스트 케이스는 한 줄로 이루어져 있으며, 각 줄에 A와 B가 주어진다. (0 > a >> b) { if ((a == 0) && (b == 0..

  2. 2017.11.08 [BOJ10951][C++] A+B - 3

    문제두 수 A와 B를 입력받은 다음, A+B를 출력하는 프로그램을 작성하시오. 입력첫째 줄에 테스트 케이스의 개수 T가 주어진다. 각 테스트 케이스는 한 줄로 이루어져 있으며, 각 줄에 A와 B가 주어진다. (0 > T; for (int i = 0; i > a >> b; cout

  3. 2017.11.08 [BOJ10951][C++] A+B - 4

    문제두 수 A와 B를 입력받은 다음, A+B를 출력하는 프로그램을 작성하시오. 입력입력은 여러 개의 테스트 케이스로 이루어져 있다. 각 테스트 케이스는 한 줄로 이루어져 있으며, 각 줄에 A와 B가 주어진다. (0 > a >> b) cout b)을 사용해서 연산을 수행해야 한다.- 처음에는 아래와 같이 코드를 작성하여 제출하였으나 출력초과가 떠버..

  4. 2017.11.08 [header][C library] cwctype (wctype.h)

    *[header][C library] cwctype (wctype.h) (wctype.h)Wide character typeThis header declares a set of functions to classify and transform individual wide characters. For more info on how the standard ASCII character set is classified using the "C" locale, see . FunctionsCharacter classification functionsThey check whether the character passed as parameter belongs to a certain category: iswalnumChec..

  5. 2017.11.08 [header][C library] cwchar (wchar.h)

    *[header][C library] cwchar (wchar.h) (wchar.h)Wide charactersThis header file defines several functions to work with C wide strings. FunctionsInput/Output: (mostly wide versions of functions) fgetwcGet wide character from stream (function )fgetwsGet wide string from stream (function )fputwcWrite wide character to stream (function )fputwsWrite wide string to stream (function )fwideStream orienta..

  6. 2017.11.08 [header][C library] cuchar (uchar.h) (C++11)

    *[header][C library] cuchar (uchar.h) (C++11) (uchar.h)Unicode charactersThis header provides support for 16-bit and 32-bit characters, suitable to be encoded using UTF-16 and UTF-32. TypesIn C, this header defines two macros: char16_t and char32_t, which map to unsigned integral types of the appropriate size (the same as uint_least16_t and uint_least32_t, respectively). In C++, char16_t and cha..

  7. 2017.11.08 [header][C library] ctime (time.h)

    *[header][C library] ctime (time.h) (time.h)C Time LibraryThis header file contains definitions of functions to get and manipulate date and time information. FunctionsTime manipulationclockClock program (function )difftimeReturn difference between two times (function )mktimeConvert tm structure to time_t (function )timeGet current time (function ) ConversionasctimeConvert tm structure to string ..

  8. 2017.11.08 [header][C library] ctgmath (tgmath.h) (C++11)

    *[header][C library] ctgmath (tgmath.h) (C++11) (tgmath.h)Type-generic mathCC++This header defines macro functions that correspond to the functions in , but which can take other non-floating point types as arguments: Every function in that takes at least one double as argument (except modf) is defined in as a macro with the same semantics but taking generic parameters instead: Each of the argume..

  9. 2017.11.08 [header][C library] cstring (string.h)

    *[header][C library] cstring (string.h) (string.h)C StringsThis header file defines several functions to manipulate C strings and arrays. FunctionsCopying: memcpyCopy block of memory (function )memmoveMove block of memory (function )strcpyCopy string (function )strncpyCopy characters from string (function ) Concatenation: strcatConcatenate strings (function )strncatAppend characters from string ..

  10. 2017.11.08 [header][C library] cstdlib (stdlib.h)

    *[header][C library] cstdlib (stdlib.h) (stdlib.h)C Standard General Utilities LibraryThis header defines several general purpose functions, including dynamic memory management, random number generation, communication with the environment, integer arithmetics, searching, sorting and converting. FunctionsString conversionatofConvert string to double (function )atoiConvert string to integer (funct..

  11. 2017.11.08 [header][C library] cstdio (stdio.h)

    *[header][C library] cstdio (stdio.h) (stdio.h)C library to perform Input/Output operationsInput and Output operations can also be performed in C++ using the C Standard Input and Output Library (cstdio, known as stdio.h in the C language). This library uses what are called streams to operate with physical devices such as keyboards, printers, terminals or with any other type of files supported by..

  12. 2017.11.08 [header][C library] cstdint (stdint.h) (C++11)

    *[header][C library] cstdint (stdint.h) (C++11) (stdint.h)Integer typesThis header defines a set of integral type aliases with specific width requirements, along with macros specifying their limits and macro functions to create values of these types. TypesThe following are typedefs of fundamental integral types or extended integral types. signed typeunsigned typedescriptionintmax_tuintmax_tInteg..

  13. 2017.11.08 [header][C library] cstddef (stddef.h)

    *[header][C library] cstddef (stddef.h) (stddef.h)C Standard definitionsThis header defines several types implicitly generated or used by certain language expressions. Typesptrdiff_tResult of pointer subtraction (type )size_tUnsigned integral type (type )max_align_t Type with widest scalar alignment (type )nullptr_t Null pointer type (C++) (type ) In C, this header also includes the declaration ..

  14. 2017.11.08 [header][C library] cstdbool (stdbool.h) (C++11)

    *[header][C library] cstdbool (stdbool.h) (C++11) (stdbool.h)Boolean typeThe purpose in C of this header is to add a bool type and the true and false values as macro definitions. In C++, which supports those directly, the header simply contains a macro that can be used to check if the type is supported: Macro constants Macrodescriptiondefined as__bool_true_false_are_definedSpecifies whether bool..

  15. 2017.11.08 [header][C library] cstdarg (stdarg.h)

    *[header][C library] cstdarg (stdarg.h) (stdarg.h)Variable arguments handlingThis header defines macros to access the individual arguments of a list of unnamed arguments whose number and types are not known to the called function. A function may accept a varying number of additional arguments without corresponding parameter declarations by including a comma and three dots (,...) after its regula..

  16. 2017.11.08 [header][C library] csignal (signal.h)

    *[header][C library] csignal (signal.h) (signal.h)C library to handle signalsSome running environments use signals to inform running processes of certain events. These events may be related to errors performed by the program code, like a wrong arithmetical operation or to exceptional situations, such as a request to interrupt the program. Signals generally represent situations where the program ..

  17. 2017.11.08 [header][C library] csetjmp (setjmp.h)

    *[header][C library] csetjmp (setjmp.h) (setjmp.h)Non local jumpsThe tools provided through this header file allow the programmer to bypass the normal function call and return discipline, by providing the means to perform jumps preserving the calling environment. The header provides, a function, a macro with functional form and a specific type: FunctionslongjmpLong jump (function ) Macro functio..

  18. 2017.11.08 [header][C library] cmath (math.h)

    *[header][C library] cmath (math.h) (math.h)C numerics libraryHeader declares a set of functions to compute common mathematical operations and transformations: Functions Trigonometric functionscosCompute cosine (function )sinCompute sine (function )tanCompute tangent (function )acosCompute arc cosine (function )asinCompute arc sine (function )atanCompute arc tangent (function )atan2Compute arc t..

  19. 2017.11.08 [header][C library] clocale (locale.h)

    *[header][C library] clocale (locale.h) (locale.h)C localization libraryThe C language supports localization specific settings, such as culture-specific date formats or country-specific currency symbols. Each system and specific compiler implementation may provide different choices of locales to be selected (using function setlocale), but at least two locales are available to choose for any C pr..

  20. 2017.11.08 [header][C library] climits (limits.h)

    *[header][C library] climits (limits.h) (limits.h)Sizes of integral typesThis header defines constants with the limits of fundamental integral types for the specific system and compiler implementation used. The limits for fundamental floating-point types are defined in (). The limits for width-specific integral types and other typedef types are defined in (). Macro constantsnameexpressesvalue*CH..

  21. 2017.11.08 [header][C library] ciso646 (iso646.h)

    *[header][C library] ciso646 (iso646.h) (iso646.h)ISO 646 Alternative operator spellingsThis header defines eleven macro constants with alternative spellings for those C++ operators not supported by the ISO646 standard character set: macrooperatorand&&and_eq&=bitand&bitor|compl~not!not_eq!=or||or_eq|=xor^xor_eq^= In C++, reserved words exist with the same names as these macros and are treated as..

  22. 2017.11.08 [header][C library] cinttypes (inttypes.h) (C++11)

    *[header][C library] cinttypes (inttypes.h) (C++11) (inttypes.h)C integer typesHeader with library support for width-based integral types. Including this header automatically includes also (which defines width-based integral types). MacrosThe following macros expand to character string literals that contain a printf or scanf specifier suitable to be used with specific width-based integral types:..

  23. 2017.11.08 [header][C library] cfloat (float.h)

    *[header][C library] cfloat (float.h) (float.h)Characteristics of floating-point typesThis header describes the characteristics of floating types for the specific system and compiler implementation used. A floating-point number is composed of four elements: a sign: either negative or non-negativea base (or radix): which expresses the different numbers that can be represented with a single digit ..

  24. 2017.11.08 [header][C library] cfenv (fenv.h) (C++11)

    *[header][C library] cfenv (fenv.h) (C++11) (fenv.h)Floating-point environmentThis header declares a set of functions and macros to access the floating-point environment, along with specific types. The floating-point environment maintains a series of status flags and specific control modes. Specific about the contents of the floating-point environment depend on the implementation, but the status..

  25. 2017.11.08 [header][C library] cerrno (errno.h)

    *[header][C library] cerrno (errno.h) (errno.h)C ErrorsC Header that defines the following macro: errnoLast error number (macro ) plus at least three additional macro constants: EDOM, ERANGE and EILSEQ (see errno for more details). 내용 출처 : http://www.cplusplus.com/reference/cerrno/

  26. 2017.11.08 [header][C library] cctype (ctype.h)

    *[header][C library] cctype (ctype.h) (ctype.h)Character handling functionsThis header declares a set of functions to classify and transform individual characters. FunctionsThese functions take the int equivalent of one character as parameter and return an int that can either be another character or a value representing a boolean value: an int value of 0 means false, and an int value different f..

  27. 2017.11.08 [header][C library] cassert (assert.h)

    *[header][C library] cassert (assert.h) (assert.h)C Diagnostics Libraryassert.h defines one macro function that can be used as a standard debugging tool: Macro functionsassertEvaluate assertion (macro ) 내용 출처 : http://www.cplusplus.com/reference/cassert/

  28. 2017.11.08 [header][Input/Output] streambuf

    *[header][Input/Output] streambuf Stream bufferHeader providing the streambuf buffer class, to be used in combination with input/output streams: Class templatesbasic_streambufBase buffer class for streams (class template ) ClassesstreambufBase buffer class for streams (class )wstreambufBase buffer class for streams (wide) (class ) 내용 출처 : http://www.cplusplus.com/reference/streambuf/

  29. 2017.11.08 [header][Input/Output] sstream

    *[header][Input/Output] sstream String streamsHeader providing string stream classes: Class templatesbasic_istringstreamInput string stream (class template )basic_ostringstreamOutput string stream (class template )basic_stringstreamString stream (class template )basic_stringbufString stream buffer (class template ) ClassesNarrow characters (char)istringstreamInput string stream (class )ostringst..

  30. 2017.11.08 [header][Input/Output] ostream

    *[header][Input/Output] ostream Output streamHeader providing the standard output stream class: Class templatesbasic_ostreamOutput stream (class ) ClassesostreamOutput Stream (class )wostreamOutput stream (wide) (class ) Input manipulators (functions)endlInsert newline and flush (function )endsInsert null character (function )flushFlush stream buffer (function ) 내용 출처 : http://www.cplusplus.com/..

728x90


📖 Contents 📖