使用拼音写程序
来源:互联网 发布:淘宝充气娃娃视频 编辑:程序博客网 时间:2024/04/28 11:31
程序的注释应该用自己的母语来写,我们的汉字太过复杂,想输入汉字还要切换输入法,切换输入法还可能使你的思路中断,我觉得用拼音写注释是非常合适的。下面是一个简单的C语言例子:/* Chengxu jiang zhi baocun dao shuzu, bing an shengxu jinxing paixu, ranhou shuchu jieguo shuzu Date: 2008/06/12*/#include #include #define SIZE 10void MaopaoPaixu( int * const array, int const size); /* Hanshu yuanxing */int main(int argc, char *argv[]){ int a[ SIZE ] = { 2, 54, 989, 54, 41, 10,88, 45, 77, 33 }; int i; /* Jishu qi*/ printf( "Paixu qian de shuju/n" ); /* Bianli shuju a */ for ( i=0; i array [ j + 1 ]){ swap ( &array[ j ], &array[ j + 1 ]); } } }}/* Jiaohuan liangge zhizhen suo zhixiang de zhi * Youyu swap hanshu yuanxing zai MaopaoPaixu hanshu zhong dingyi * suoyi zhineng cong MaopaoPaixu hanshu zhong diaoyong swap hanshu */void swap( int *temp1Ptr, int *temp2Ptr){ int hold = *temp1Ptr; *temp1Ptr = *temp2Ptr; *temp2Ptr = hold;}
- 使用拼音写程序
- 使用拼音写程序
- 织梦程序使用拼音首字母做栏目名称
- 使用ATL写Windows程序
- 使用API写Windows程序
- 使用vs2008写c程序
- 使用Python写CUDA程序
- 中文转换拼音程序
- 汉字转拼音程序
- 拼音库提取程序
- 啾啾拼音-小学“看拼音写词语”工具
- 中文转拼音ASP程序
- php汉字转拼音程序
- 拼音库提取程序[最新版]
- 如何使用JavaScript来写ASP程序
- 可以使用汇编来写Symbian程序
- 今天使用asp函数写的程序
- 使用API写Windows程序 (转)
- ASP.NET页面生命周期概述(转载)
- Delphi惹谁了?
- xtratum--Abstract
- SQL Server 2005页面校验探究
- 使用拼音写程序
- 使用拼音写程序
- weblogic连接池配置使用
- javascript对表格的控制
- sdxfgdsf g
- ding ding ding
- 关于win2003不能识别大移动硬盘
- C#实现所有经典排序算法
- Micro kernel和Monolithic kernel
- 不同编程语言和操作系统对应的薪水 zt