mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-25 15:16:29 +08:00
2b11639103
请问这里为了防止重复包含头文件是不是应该改成COMMON_H,因为头文件名字叫做common.h
36 lines
529 B
C
36 lines
529 B
C
/**
|
|
* File: common.h
|
|
* Created Time: 2022-12-20
|
|
* Author: MolDuM (moldum@163.com)、Reanon (793584285@qq.com)
|
|
*/
|
|
|
|
#ifndef COMMON_H
|
|
#define COMMON_H
|
|
|
|
#include <assert.h>
|
|
#include <stdbool.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <time.h>
|
|
#include <math.h>
|
|
|
|
#include "list_node.h"
|
|
#include "print_util.h"
|
|
#include "tree_node.h"
|
|
#include "vertex.h"
|
|
|
|
// hash table lib
|
|
#include "uthash.h"
|
|
|
|
#include "vector.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // COMMON_H
|