会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
xzenith
--------------------------
博客园
首页
新随笔
订阅
管理
上一页
1
2
3
4
5
6
下一页
2014年4月30日
斯特林公式(计算大数阶乘)
摘要: #include #include #include #define PI 3.1415926535898#define e 2.718281828459using namespace std;///斯特林///n!=sqrt(2*PI*n)*pow(n/e,n)int main(){ int...
阅读全文
posted @ 2014-04-30 23:30 xzenith
阅读(618)
评论(0)
推荐(0)
2014年4月22日
实验5-2学生成绩管理系统V5.0
摘要: #include #include #include /////////////////////////////////////////////////////////////////in this total program, I replace the array with structure/...
阅读全文
posted @ 2014-04-22 17:58 xzenith
阅读(1002)
评论(0)
推荐(0)
2014年4月19日
期中考试后的心得
该文被密码保护。
阅读全文
posted @ 2014-04-19 20:39 xzenith
阅读(4)
评论(0)
推荐(0)
2014年4月18日
typedef 的常见用法
摘要: 定义一种类型的别名,而不只是简单的宏替换。可以用作同时声明指针型的多个对象。比如:char* pa, pb; // 这多数不符合我们的意图,它只声明了一个指向字符变量的指针,// 和一个字符变量;以下则可行:typedef char* PCHAR;PCHAR pa, pb; 这种用法很有用,特别是...
阅读全文
posted @ 2014-04-18 22:08 xzenith
阅读(140)
评论(0)
推荐(0)
查补查找(二分查找的优化)
摘要: int insertsearch(int num[],int n){ int low,mid,high; low=1; hign=N; while(lowhigh) return 0; if(nnum[mid]) lo...
阅读全文
posted @ 2014-04-18 21:29 xzenith
阅读(139)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页