Code Monkey home page Code Monkey logo

wheatapi's Introduction

WheatAPI

Wheat同学的一套C++接口及方法


配置WheatAPI方法

  • 在系统环境变量中添加WheatAPI_PATH,值为WheatAPI根目录。Windows下设置系统环境变量:高级系统设置-高级-环境变量-系统变量(新建)。

  • Visual Studio开发环境下:将WheatAPI通用VS项目属性表WheatAPI.Cpp.props添加入属性管理器。视图-属性管理器-添加新项目属性表。

  • 第二步替代方案:项目属性页-包含目录-添加“$(WheatAPI_PATH)\include”,库目录-添加“$(WheatAPI_PATH)\library”。

  • 如不添加环境变量,可将上述“$(WheatAPI_PATH)”,或WheatAPI.Cpp.props中的“$(WheatAPI_PATH)”替换成WheatAPI根目录。(如D:\WheatAPI)

在2020-02-14更新的仓库中,API源文件有:

  1. MyTimer静态链接库项目
  2. ParameterManager静态链接库项目
  3. MyVector.hpp
  4. MyMat.hpp、MyMat_Solve.hpp
  5. Vector3.hpp

MyTimer静态链接库项目

  • Wheat同学封装的计时器类。

  • 可以实现在Windows/Linux下的毫秒级(或更精确)的计时操作。并支持多点计时、帧率检测、帧率控制、控制台输出等操作。详细见MyTimer.h头文件。

ParameterManager静态链接库项目

  • Wheat同学封装的参数管理类。

  • 你可以将该类引入自己的程序,打造成可以由Windows CMD进行参数调用的程序。

  • 该类实现了一套方便的字符串参数管理及多种类型定向转换方法。详细见ParameterManager描述文档

  • 另外这个项目中还定义了几个全局通用函数(窄/宽字符分割函数、基于PPL库及Lambda的通用并发处理函数、获取目录下所有文件名列表等)

MyVector.hpp

  • 容器类泛型,包括动态数组MyArray、变长向量MyVector。

MyMat.hpp、MyMat_Solve.hpp

  • 矩阵类(试验阶段)

Vector3.hpp

  • 三维向量类(试验阶段)

wheatapi's People

Contributors

wheat2018 avatar

Watchers

 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.