码迷,mamicode.com
首页 >  
搜索关键字:choice    ( 840个结果
求输出此日期是该年的第几天
/*****************************************************************************/ 自己独里做的 ...
分类:其他好文   时间:2017-10-17 23:04:55    阅读次数:369
使用指针的指针对字符串排序
1 /* Note:Your choice is C IDE */ 2 #include "stdio.h" 3 #include "string.h" 4 /*使用指针的指针对字符串排序*/ 5 /*排序是按照汉字的首字母进行*/ 6 /* 7 *整体思路:1、输出排序前的数组元素 8 9 * 2... ...
分类:编程语言   时间:2017-10-17 23:03:16    阅读次数:218
使用指针输出数组元素
1 /* Note:Your choice is C IDE */ 2 #include "stdio.h" 3 void main() 4 { 5 int a[10];//定义整型数组 6 int *p,i; //定义指针和变量 7 puts("\nPlease input ten integer... ...
分类:编程语言   时间:2017-10-17 23:00:10    阅读次数:221
c语言—输入年、月、日,算出该日是该年的第几天
/* Note:Your choice is C IDE */ #include "stdio.h" void main() { int y,m,d;//年、月、日 int cr,ds=0,i;//cr:判断是否为闰年的变量,是为1,否为0;ds:天数的总和;i是一个循环变量 char run[12... ...
分类:编程语言   时间:2017-10-16 22:10:53    阅读次数:193
批处理中的IF详解
在CMD使用IF /?打开IF的系统帮助会发现IF有3种基本的用法! 第一种用法:IF [NOT] ERRORLEVEL number command 这种用法现在很少用了,因为它需要使用到CHOICE命令,这个命令现在被set /p代替了,它是判断CHOICE命令选择的选项的,CHOICE命令是一 ...
分类:其他好文   时间:2017-10-16 21:38:24    阅读次数:164
choice() 函数
描述 choice() 方法返回一个列表,元组或字符串的随机项。 语法 以下是 choice() 方法的语法: 注意:choice()是不能直接访问的,需要导入 random 模块,然后通过 random 静态对象调用该方法。 参数 seq -- 可以是一个列表,元组或字符串。 返回值 返回随机项。 ...
分类:其他好文   时间:2017-10-16 16:51:11    阅读次数:277
day94 10.14
s5day94 内容回顾: 1. 字符串格式化 正则: /xx/g js原型:为类定制方法 replace:字符串替换 2. display 3. choice选项: 模板语言:get_xx_display() yield js : @@ 今日内容:增删改查插件 1. 定制属性 @ setAttri ...
分类:其他好文   时间:2017-10-14 12:46:17    阅读次数:163
July 31st 2017 Week 31st Monday
Elegance is the only beauty that never fades. 优雅是唯一不会褪色的美。 Even the most beautiful apperace would become bones and dusts. Even the most successful com ...
分类:其他好文   时间:2017-10-13 22:26:04    阅读次数:190
Python学习之购物车程序练习
product_list=[ (,), (,), (,), (,), (,), (,) ] shopping_list=[] salary=()salary.isdigit():salary=(salary): index,item(product_list):(index,item) user_choice=() user_choice.isdigit():user_choice=(user_choice) user_choice<(product_list)user_choice>=:p_i..
分类:编程语言   时间:2017-10-13 22:22:15    阅读次数:213
bat 杂记
@echo off taskkill /f /im excel.exe choice /t 1 /d y /n >nul set mypath= "" "%~dp0\fbl.xlsm" echo %mypath% start %mypath% @echo off taskkill /f /im ex ...
分类:其他好文   时间:2017-10-13 19:01:37    阅读次数:97
840条   上一页 1 ... 49 50 51 52 53 ... 84 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!