Data structure Common code

Source: Internet
Author: User

#include <string.h>//String function header file #include <ctype.h>//Character function header file #include <malloc.h>//malloc, etc. #include <stdio.h>//Standard input Output header file, including EOF (=^z or F6), NULL, etc. #include <stdlib.h>//atoi (), exit () #include <io.h>//eof () #include <math.h>//Math function header file, including floor (), Celil (), ABS (), etc. #include <sys/timeb.h>//ftime () #include <stdarg.h>//provides macros Va_start,va_arg and va_end for accessing variable-length parameter tables //function result status code. #define TRUE 1#define FALSE 0#define OK 1#define ERROR 0typedef intStatus;//status is the type of function whose value is the function result status code, such as OK, etc.typedef intBoolean;//boolean is a Boolean type, and its value is true and Falsetypedef intElemtype;

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Data structure Common code

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.