![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c
想想你说过的话
这个作者很懒,什么都没留下…
展开
-
约瑟夫环 c实现
#include<stdio.h>#include<malloc.h>#include<stdlib.h>typedef struct ElemType{ int id;}ElemType;typedef struct LNode{ struct ElemType data; struct LNdoe *next;}LNode,*LinkList;/**形成m个结原创 2018-03-29 19:12:35 · 301 阅读 · 0 评论 -
哈希表之我见
/*********完成于11:15 2018/3/20Made by WenZhang*************/ #include <stdio.h>#include <stdlib.h>#include <string.h>struct Student{ char name[20]; //key int phone; //value原创 2018-03-20 11:36:58 · 204 阅读 · 0 评论 -
The POSIX name for this item is deprecated
The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name原创 2018-04-21 20:40:56 · 1642 阅读 · 0 评论 -
This function or variable may be unsafe. Consider using scanf_s instead
vs2017 community win10 代码:#include <stdio.h>int main() { int a, b; scanf("%d%d", &a, &b); printf("%d\n", a + b); return 0;}错误: C4996 ‘scanf’: This function or ...原创 2018-04-21 21:02:27 · 3446 阅读 · 0 评论 -
数据结构之赫夫曼编码和译码(C实现)
运行效果图代码/*数据结构之赫夫曼编码和译码(C实现) 编译器:dev-c++ 5.11运行环境:win10 64bit时间:2018-5-22 13:00 至 2018-5-23 22:55By:WainAt:STU */#include<malloc.h>#include<string.h>#include<stdio.h>...原创 2018-05-23 23:08:26 · 3498 阅读 · 4 评论 -
Clion中出现: undefined reference to `omp_get_wtime' 错误,需修改CMakeLists.txt 文件
做并行开发时,用到了omp.h头文件,直接在Clion中编译时出现undefined reference to `omp_get_wtime' 错误。#include <omp.h>这时候需要修改CMakeLists.txt 文件,如下:set(CMAKE_C_STANDARD 99)FIND_PACKAGE( OpenMP REQUIRED)if(OPENMP...原创 2019-04-30 17:52:20 · 3478 阅读 · 2 评论