Code Monkey home page Code Monkey logo

convert2dec's Introduction

#k进制数转十进制

  • 帮学妹做的课设>_<
  • 采用了TDD**
  • 要求实现以下功能
    0. 采用C++实现
    1. 二进制转十进制数
    2. 八进制转十进制数
    3. 十六进制转十进制数
  • 感受:本来觉得题目简单,想写得高大上一些,故用了TDD**,主要函数都做了测试。目前没有发现BUG。。没想到这么简单的题目还是花了不少时间,不知道是写测试太花时间,还是自己算法太弱,XD,总之,测试对发现潜在BUG很有帮助,也算是有收获。fighting.

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.