-
12
说明: 下面是一个结构体声明:
struct box
{
char maker[40]
float height
float width
float length
float volume
}
a. 编写一个函数,按值传递box结构,并显示每个成员的值
b. 编写一个函数,传递box结构的地址,并将volume成员设置为其他三维长度的成绩。
c. 编写一个使用这两个函数的简单程序
(Here is a structure declaration: struct box {char maker [40] float height float width float length float volume } a. Write a function that is passed by value box structure, and shows the value of each member b . to write a function, passing the address box structure and volume settings for the other three members of the length of the results. c. use these functions to write a simple program)
- 2013-06-02 17:27:08下载
- 积分:1
-
1
计算一个整数的和的积德最大值,即最优整数的接的最大值(The Jide calculate an integer, and the maximum value, i.e. the optimal integer then the maximum)
- 2013-05-17 00:15:26下载
- 积分:1
-
biaodashiqiuzhi
表达式求值程序,很好的实现表达式的ascii码输入,到数值计算(Expression evaluation procedures, to achieve a very good expression of the ascii code input to the numerical calculation)
- 2009-07-16 16:10:20下载
- 积分:1
-
chengxu
编写一个函数,要求输入年月日时分秒,
输出该年月日时分秒的下一秒。
如输入2011年12月31日23时59分59秒,
则输出2012年1月1日0时0分0秒。
需要考虑闰年 和 2月的特殊情况 (Write a function that requires input date, hour, minute and second outputs of the date when the next second. If the input at 23:59:59 on December 31st, 2011, output at 0:00:00 on January 1, 2012. Leap year and February need to consider the special case)
- 2013-05-28 13:06:03下载
- 积分:1
-
aCalculator
一个可以自由转换进制的计算器
八,十,十六,随意转换(a free conversion of 229 calculators 8, 10, 16, the casual change)
- 2007-01-21 22:51:17下载
- 积分:1
-
GetSerialNumDemo
使用VC++ 6.0 获取主板的序列号。(Get motherboard s serial number using VC++ 6.0)
- 2012-03-15 23:01:52下载
- 积分:1
-
CLOCK
钟面上的时针和分针之间的夹角总是在 0 ~180之间 ( 包括 0 和180 ) 。举例来说,在十二点的时候两针之间的夹角为 0 ,而在六点的时候夹角为180 ,在三点的时候为90 。本题要解决的是计算 12:00 到 11:59 之间任意一个时间的夹角。(The angle between the hour and minute hands of the clock face is always between 0 to 180 (including 0 and 180). For example, twelve o' clock, when the angle between the two pin 0, in the six o' clock when the angle is 180, three points for 90. This question must be resolved are the angle of the calculation of 12:00 to 11:59 any one time.)
- 2011-06-28 13:14:11下载
- 积分:1
-
RevSubStr
长度为N(N很大)的字符串,求最长回文串(Length N (N large) strings, find the longest palindrome string)
- 2013-09-29 11:52:47下载
- 积分:1
-
VC-generated-excel-histogram
vc6.0 excel2003 用c++生成excel表格并且绘制柱状图 一步完成不需要操作excel(vc6.0 excel2003 c++ excel spreadsheet to generate and draw a histogram step does not need to operate excel)
- 2013-05-17 15:57:41下载
- 积分:1
-
MEQM
对于VC编程很有帮助,非常好的操纵Win32中的线程,不错的(For VC programming very helpful, very good control of the Win32 threads, pretty good)
- 2017-04-08 06:46:15下载
- 积分:1