2009 March 11th Wednesday (三月 十一日 水曜日)

今天,NTTData的客户将访问公司,作为最大股东之一,我们需要展示最佳状态。作者上午需要完成Apache Module comDataServer源代码的修改工作,下午则要制定测试计划,并预计明天开始进行模块测试。此外,还提到了一个简单的随机数生成函数。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

   Today NTTData's customer is about go to our company.  The NTTData is one of shareholders.  As a matter of fact, it
is the biggest shareholder.

  This morning I have to finish modifing the source of the Apached Module comDataServer.  This afternoon, I have to
finish the test plan.  Tommorrow, I have to test that module revised.  God!  The larger GUI testing on SI-net is waiting
for me.

  This year, every one in our team will get about one million RMB for our corporation.  This estimate can not precise,
it is not a great discrimination.

  Oh, today our corporation will hold a security scrutiny.

  There is a get random function.  It is convenienct.

#include <time.h>
#include <stdlib.h>

int getRand(float m) {
int ret = 0;

srand((int)time(0));
while (true) {
ret = (int) (m * rand() / (RAND_MAX + 1.0));
if ((ret >= 0) && (ret <=(int)m))
return ret;
}
}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值