剪刀石头布源代码includelt;stdio.hgt;includelt;stdlib.hgt;main int d,x; printfquot;请输入:1是剪刀,2是石头,3是布quot; scanfquot;dquot;,amp;d;
1、经典C语言源代码1、(1)某年某月某日是星期几includestdo.hn main()in yar,mont, day;whie (scan_s(d%dd,&year, month, da) != EOF).文档交流 仅供参考.if (mnt =1 | moth=2)/判断month是否为1或2ya;month += 12;int c= yea 0;inty =a 100;in ee= ( / ) * + (y + y / 4)...
1、snippets.dzone.com/tag/数以千计的有用的C语言源代码片段 2、hotscripts.com/category --提供数以百计的C和C++脚本和程序。所有程序都分为不同的类别。 3、planetsourcecode.com/vb超过万行C和C++免费的源代码 4、freshmeat.net/browse/16超过9000个C编写的项目。 5、daniweb.com/code/c.html提供的实...
14、http://www.thefreecountry.com/sourcecode/cpp.shtml--以下是一些C和C++库的DLL,VCLs,源代码,元件,模块,应用程序框架,类库,源代码片段等,你可以在您的项目中使用而不需要支付费用和版税。 15、[URL=http://people.sc.fsu.edu /~burkardt/cpp_src/cpp_src.html ]http://people.sc.fsu.edu/~burkardt/...
22、http://cliodhna.cop.uop.edu/~hetrick/c-sources.html –免费的C/C++数值计算源代码。 23、http://www.mathtools.net/C_C__/Utilities/index.html –C/C++工具。 24、http://www.programmerworld.net/resources/c_lipary.htm –免费C++源代码和其它有用的工具。
简单易懂的C语言源代码(供初学者使用).doc,#includestdio.h main() {float pi=3.14159265,r; ???printf(enter radius:\n); ???scanf(%f,r); ???printf(r=%.2f,c=%.2f,area=%.2f\n,r,2*pi*r,pi*r*r); ???system(pause); } #includestdio.h main...
C语言项目源码,C语言源代码大全(2021版)! 一、C语言源码大全 C语言是一门通用计算机编程语言,广泛应用于底层开发。C语言的设计目标是提供一种能以简易的方式编译、处理低级存储器、产生少量的机器码以及不需要任何运行环境支持便能运行的编程语言。尽管C语言提供了许多低级处理的功能,但仍然保持着良好跨平台的特性,...
3、http://www.planetsourcecode.com/vb/default.asp?lngWId=3 --超过万行C和C++免费的源代码 4、http://freshmeat.net/browse/164/ --超过9000个C编写的项目。 5、http://www.daniweb.com/code/c.html --DANIWEB提供的实用代码段 。 6、http://www.programmersheaven.com/tags/C/ --programmersheave...
#define DIS(i,j) (sqrt(SQU(DELX(i,j))+SQU(DELY(i,j))) #define FOR(i,N,M) for (i = N; i < M; i++) ExMessage mes; struct ball { double x, y, vx, vy, ax, ay; }; struct ball B[MAX + 200]; int wx, wy; void...