#include <stdio.h>int main(){ int i,a[100],number,mid,temp1,temp2; printf("How many numbers do you want to enter? \n"); scanf("%d",&number);//确定数组长度 p ...
分类:
编程语言 时间:
2020-05-31 11:02:52
阅读次数:
258
1、使用while循环输入1 2 3 4 5 6 8 9 10 num = 1 while num <= 10: if num == 7: print(" ") else: print(num) num = num + 1 2、求1-100的所有数的和 num = 1 he = 0 while nu ...
分类:
其他好文 时间:
2020-05-30 23:27:11
阅读次数:
156
把以下代码保存成.bat批处理文件,放到需要批量重命名的文件内,运行即可。 @echo off&setlocal enabledelayedexpansion for /f "delims=" %%i in ('dir /s/b .') do ( set "foo=%%~nxi" set foo=! ...
分类:
其他好文 时间:
2020-05-30 18:24:33
阅读次数:
168
TCP客户端 W5500的TCP客户端百度到处都有,而且都是一个模子 简而言之:就是这么写,这么用 上菜 /** * @brief TCP客户端 * @param None * @retval None * @warning None * @example **/ void do_tcpc(void ...
分类:
其他好文 时间:
2020-05-30 12:29:50
阅读次数:
129
Win7下C盘无法创建文件解决办法: To fix it, just turn off the User Account Control (UAC). In Windows 8, do not turn off the UAC via control panel, it must go throug ...
#!/bin/bash # FILENAME:filelock # 默认重试次数 retries="10" # 默认操作 action="lock" # 用于锁文件的空命令 nullcmd="'which true'" # 设置选项 while getopts "lur:" opt; do case ...
分类:
其他好文 时间:
2020-05-29 23:01:51
阅读次数:
89
import pymysql #导入pymysql模块from scripts.handle_yaml import HandleYaml #系统配置模块,关于数据库的配置都放在mysql区域名里面do_yaml = HandleYaml()class hander_sql: def __init_ ...
分类:
数据库 时间:
2020-05-29 21:33:16
阅读次数:
94
//int类型的冒泡排序using System; namespace 冒泡排序 { class Program { static void Sort(int[] sortArray) { bool swapped = true; do { swapped = false; for (int i = ...
分类:
编程语言 时间:
2020-05-29 21:01:56
阅读次数:
85
1、使用admin(超级管理员)登录系统;2、进入系统配置--》菜单配置2.1、添加菜单类型为菜单类型,菜单地址:xxx.do?list2.2、添加菜单类型为权限类型,菜单地址:xxx.do?datagrid3、切换一个需要过滤且具有访问系统用户录入规则规则名称:xxx规则字段(hql):creat ...
分类:
其他好文 时间:
2020-05-29 10:05:22
阅读次数:
91
https://xbeta.info/tag/do http://www.bilibili.com/video/av370838242?share_medium=android&share_source=more&bbid=793F936C-D9BC-4748-9433-EFD0D8CFCF9453 ...
分类:
其他好文 时间:
2020-05-29 09:33:31
阅读次数:
45