随笔分类 -  C 库函数

摘要:headercmath (math.h)C numerics librarycmathdeclares a set of functions to compute common mathematical operations and transformations:Trigonometric functions:cosCompute cosine(function)sinCompute sine(function)tanCompute tangent(function)acosCompute arc cosine(function)asinCompute arc sine(function)a 阅读全文

posted @ 2012-03-15 20:40 无忧consume 阅读(704) 评论(0) 推荐(0) |

摘要:headercstring (string.h)C StringsThis header file defines several functions to manipulateC stringsand arrays.FunctionsCopying:memcpyCopy block of memory(function)memmoveMove block of memory(function )strcpyCopy string(function)strncpyCopy characters from string(function)Concatenation:strcatConcatena 阅读全文

posted @ 2012-03-15 20:39 无忧consume 阅读(205) 评论(0) 推荐(0) |

摘要:headercstdlib (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 arthmetics, searching, sorting and converting.FunctionsString conversion:atofC 阅读全文

posted @ 2012-03-15 20:39 无忧consume 阅读(508) 评论(0) 推荐(0) |

摘要:headercstdio (stdio.h)C library to perform Input/Output operationsInput and Output operations can also be performed in C++ using theCStandardInput andOutput Library (cstdio, known asstdio.hin the C language). This library uses what are calledstreamsto operate with physical devices such as keyboards, 阅读全文

posted @ 2012-03-15 20:38 无忧consume 阅读(313) 评论(0) 推荐(0) |

博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3