Giter Site home page Giter Site logo

yanyanlove / c-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from leleliu008/c-examples

0.0 0.0 0.0 1.42 MB

C语言学习项目

License: Apache License 2.0

Shell 4.64% Python 0.34% C 69.66% Java 0.08% Assembly 0.09% Makefile 5.49% HTML 0.02% CMake 1.78% M4 0.41% Roff 11.48% SWIG 6.00%

c-examples's Introduction

C

一级目录 二级目录 三级目录 说明
standard iso ISO C的一些测试文件,其中大部分需要通过GDB调试进行查看
standard posix POSIX标准的测试文件
library cJSON cJSON的使用案例
library qrencode qrencode的使用案例
library mbedTLS base64 mbedTLS / base64.h的使用案例
library mbedTLS AES mbedTLS / aes.h的使用案例
library mbedTLS MD5 mbedTLS / md5.h的使用案例
library mbedTLS RIPEMD-160 mbedTLS / ripemd160.h的使用案例
library mbedTLS SHA1 mbedTLS / sha1.h的使用案例
library mbedTLS SHA256 mbedTLS / sha256.h的使用案例
library mbedTLS SHA512 mbedTLS / sha512.h的使用案例
library mbedTLS HMAC mbedTLS / md.h的使用案例
library mbedTLS PBKDF2 mbedTLS / pkcs5.h的使用案例
algorithm base16 Base16算法的实现
algorithm url URL编解码算法的实现
algorithm bcc BCC校验算法的实现
algorithm lrc LRC校验算法的实现
algorithm chinese-calendar **阳历日期转换为阴历日期、节气、节日算法的实现

编译

每个模块都可以独立编译。也可以整体编译。

cmake -S . -B build.d -DCMAKE_INSTALL_PREFIX=./output -DENABLE_TESTING=ON
cmake --build build.d --target install

Note: if -DENABLE_TESTING=ON is given, CUnit should be installed.

运行单元测试程序

ctest --test-dir build.d/algorithm/base16

c-examples's People

Contributors

leleliu008 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.