期刊文献+

C语言中整数除法取商和取余运算的实现 被引量:3

The Implementation of the Operation for Finding the Quotient and Remainder of Division of Two Integers in C Language Environment
下载PDF
导出
摘要 给出了在C语言环境中计算两个整数相除所得商和余数的自定义函数以及运算符重载。这些函数和运算符重载方便了用户在C语言环境中进行带余除法的运算。程序的运行结果证明了所定义函数以及运算符重载的正确性。 In the present paper,we presented the user defined functions and operator overloadings for computing the quotient and remainder obtained by division of two integers in C language environment.These functions and operator overloadings facilitate the users to carry out the operation of division with remainder in C language environment.The result of the running of the program shows the correctness of functions and operator overloadings we defined.
作者 白鸿武
出处 《咸阳师范学院学报》 2010年第2期4-6,共3页 Journal of Xianyang Normal University
基金 咸阳师范学院教改项目(200902029)
关键词 带余除法 余数 C语言 运算符重载 division with remainder quotient remainder C language operator overloading
  • 相关文献

参考文献2

共引文献1

同被引文献12

引证文献3

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部