Bạn cũng có thể đưa rõ ra những hàm mà bạn chưa hiểu, còn để có một cách hiểu đơn giản về file header trong C bạn có thể tham khảo ở đây
Chào các bạn. Mình đang tìm hiểu các hàm trong Header file của C. Nhưng khi đọc thấy có nhiều hàm mà không hiểu hết ý nghĩa nó làm cái gì.
Vậy bạn nào biết rõ về các header file của C thì có thể chỉ cho mình được ko. Cơ bản là header file của C chuẩn thôi.
Nếu có sách nói về vấn đề này thì chỉ cho mình luôn với.
Listen to my story
This may be our last chance.
Bạn cũng có thể đưa rõ ra những hàm mà bạn chưa hiểu, còn để có một cách hiểu đơn giản về file header trong C bạn có thể tham khảo ở đây
Hiêu cơ bản về Header file thì mình biết. Nhưng để tiện cho việc tra cứu sau này khi muốn dùng đúng ý mình , ta có thể tra hàm nhanh nhất. hoặc giả có đọc code của người nào viết thì còn hiểu được hàm đó làm nhiệm vụ gì.
Thế nên mình muốn có bảng liệt kê chi tiết.
Từng File Header có những hàm nào và nó làm nhiệm vụ gì.
Còn việc nêu ra những hàm lẻ tẻ mà mình chưa biết thì chỉ là giải pháp tạm thời và không có một cái nhìn tổng quan về các hàm đã có sẵn trong C. Mình muốn có một cái nhìn như thế và chắc hẳn nó sẽ giúp cho người mới lập trình có cái tra cứu tốt. Hy vọng có người đã từng có một bản chi tiết như vậy. Còn nếu không mình sẽ cố tìm và post lên đây vậy.
Listen to my story
This may be our last chance.
Lên gú gồ search thiếu gì, ra 1 đống ấy chứ, có nhiều hàm cũng chả đụng đến bao h đâu, biết các hàm thông dụng thôi, còn thấy hàm nào lạ thì lên mạng search
Life:\> dir
Ra hàng đĩa mua bản MSDN rồi về mà nhai dần .
Of the Standard C++ library headers listed below, 13 constitute the Standard Template Library, or STL. These are indicated below with the notation (STL):
<algorithm> -- (STL) for defining numerous templates that implement useful algorithms
<bitset> -- for defining a template class that administers sets of bits
<cassert> -- for enforcing assertions when functions execute
<cctype> -- for classifying characters
<cerrno> -- for testing error codes reported by library functions
<cfloat> -- for testing floating-point type properties
<ciso646> -- for programming in ISO 646 variant character sets
<climits> -- for testing integer type properties
<clocale> -- for adapting to different cultural conventions
<cmath> -- for computing common mathematical functions
<complex> -- for defining a template class that supports complex arithmetic
<csetjmp> -- for executing nonlocal goto statements
<csignal> -- for controlling various exceptional conditions
<cstdarg> -- for accessing a varying number of arguments
<cstddef> -- for defining several useful types and macros
<cstdio> -- for performing input and output
<cstdlib> -- for performing a variety of operations
<cstring> -- for manipulating several kinds of strings
<ctime> -- for converting between various time and date formats
<cwchar> -- for manipulating wide streams and several kinds of strings
<cwctype> -- for classifying wide characters
<deque> -- (STL) for defining a template class that implements a deque container
<exception> -- for defining several functions that control exception handling
<fstream> -- for defining several iostreams template classes that manipulate external files
<functional> -- (STL) for defining several templates that help construct predicates for the templates defined in <algorithm> and <numeric>
<iomanip> -- for declaring several iostreams manipulators that take an argument
<ios> -- for defining the template class that serves as the base for many iostreams classes
<iosfwd> -- for declaring several iostreams template classes before they are necessarily defined
<iostream> -- for declaring the iostreams objects that manipulate the standard streams
<istream> -- for defining the template class that performs extractions
<iterator> -- (STL) for defining several templates that help define and manipulate iterators
<limits> -- for testing numeric type properties
<list> -- (STL) for defining a template class that implements a list container
<locale> -- for defining several classes and templates that control locale-specific behavior, as in the iostreams classes
<map> -- (STL) for defining template classes that implement associative containers
<memory> -- (STL) for defining several templates that allocate and free storage for various container classes
<numeric> -- (STL) for defining several templates that implement useful numeric functions
<ostream> -- for defining the template class that performs insertions
<queue> -- (STL) for defining a template class that implements a queue container
<set> -- (STL) for defining template classes that implement associative containers with unique elements
<sstream> -- for defining several iostreams template classes that manipulate string containers
<stack> -- (STL) for defining a template class that implements a stack container
<stdexcept> -- for defining several classes useful for reporting exceptions
<streambuf> -- for defining template classes that buffer iostreams operations
<string> -- for defining a template class that implements a string container
<strstream> -- for defining several iostreams classes that manipulate in-memory character sequences
<utility> -- (STL) for defining several templates of general utility
<valarray> -- for defining several classes and template classes that support value-oriented arrays
<vector> -- (STL) for defining a template class that implements a vector container
The Standard C++ library also includes the 18 headers from the Standard C library, sometimes with small alterations. Most of the functions in the header files below are documented in the Run-Time Library Reference, so they are not discussed in this Standard C++ Library reference.
<assert.h> -- for enforcing assertions when functions execute
<ctype.h> -- for classifying characters
<errno.h> -- for testing error codes reported by library functions
<float.h> -- for testing floating-point type properties
<iso646.h> -- for programming in ISO 646 variant character sets
<limits.h> -- for testing integer type properties
<locale.h> -- for adapting to different cultural conventions
<math.h> -- for computing common mathematical functions
<setjmp.h> -- for executing nonlocal goto statements
<signal.h> -- for controlling various exceptional conditions
<stdarg.h> -- for accessing a varying number of arguments
<stddef.h> -- for defining several useful types and macros
<stdio.h> -- for performing input and output
<stdlib.h> -- for performing a variety of operations
<string.h> -- for manipulating several kinds of strings
<time.h> -- for converting between various time and date formats
<wchar.h> -- for manipulating wide streams and several kinds of strings
<wctype.h> -- for classifying wide characters
What you see is never what you get...
Cám ơn bạn nhưng hình như bạn chưa hiểu ý của mình rồi. Không nhẽ mỗi lần lại cứ phải dùng đến anh www.google.com à .Như thế tốn thời gian quá ( dễ bị gián đoạn). Thay vì thế ta tập hợp cho đủ bộ có hơn không.
Trong thời gian vừa rồi mình tìm thấy trang này khá hay mời các bạn xem thử nếu có hứng thú tìm hiểu mấy file header của C ( à mà không chỉ có những file header đâu mà hình như cái gì cũng có thì phải)
http://www-ccs.ucsd.edu/c/
Cám ơn bạn có khi cũng nên mua đĩa MSDN thật.Ra hàng đĩa mua bản MSDN rồi về mà nhai dần .
Listen to my story
This may be our last chance.