自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

VC 提供的 "hello, world!\n"

[code="java"][/code] // VC0116.cpp : Defines the entry point for the console application. // #include "stdafx.h" int main(int argc, char* argv[]) { printf("Hello World! at 07:36\n"); re...

2008-01-16 07:40:23 103

亂數產生器

r(n)= (r(n-1)*a + b) mod c 第 n個亂數,等於 前一個亂數,乘以 a, 加上 b, mod c a= 7^5 b= 0 c= (2^31) - 1 產生 20億個亂數,需時約 350秒 平均每秒,大約可以產生 600萬個亂數。 [code] /* for rnd1(), rnd2(), irnd(), init_rnd() ...

2007-12-25 16:45:20 349

計算時間間隔的 副程式

只能 精確到 16ms [code] /* for time1(), time2() */ // ---------------------------------------------- #include #include #include #include #include #include // -------------------...

2007-12-25 15:33:18 96

兩個 常用的 副程式

void skip(int no); void pause(void); [code] /* for skip(), pause() */ #include #include #include #include // ---------------------------------------------- // skip(-3); voi...

2007-12-25 11:40:33 97

VC++ 6.0 第一砲

我是 初學,請多多包涵 [code] /* LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/VC1225.exe : fatal error LNK1120: 1 unresolved externals E:\VC1225\VC1225.CPP(15) : warning...

2007-12-25 09:46:39 81

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除