Code Monkey home page Code Monkey logo

c-exercise4.9's Introduction

C-Exercise4.9

C程序设计 (第四版) 谭浩强 习题4.9

题目描述

给一个不多于5位的正整数,要求:

  1. 求出它是几位数;
  2. 分别输出每一位数字;
  3. 按逆序输出各位数字,例如原数为321,应输出123。

关于代码

由于手敲代码实在不现实,遂写了一个代码生成器(code_generator.cpp)

如果有人能够帮我将code.cpp编译为exe,我将感激不尽! (因为Github限制上传25m以上文件,这里只展示code_sample.cpp,完整的code.cpp请运行code_generator.cpp获取)

至于我为什么会写这个,请看下面的网传图片lol

网传图片

c-exercise4.9's People

Contributors

yingmoy avatar

Stargazers

Martin Cao avatar  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.