MySql基本操作 CREATE DATABASE IF NOT EXISTS db_name CHARACTER SET UTF8 COLLATE utf8_general_ci; SHOW DATABASES; SHOW CREATE DATABASE db_name; ALTER DATABA ...
分类:
数据库 时间:
2019-06-07 22:48:09
阅读次数:
154
1.死循环 结果是一直循环 2.循环 3.练习题 ~ 使用while循环输出1 2 3 4 5 6 8 9 10 执行结果: ~ 求1-100的所有数的和 输出结果: ~求1-100内所有的奇数 输出结果: ~ 求1-100内所有的偶数 输出结果: ...
分类:
编程语言 时间:
2019-06-07 12:53:11
阅读次数:
102
dos command md 创建目录 rd 删除目录 cd\ 返回到根目录 cd.. 返回到上一级目录 cd 进入指定目录 dir 列出当前目录下的文件夹及文件 echo 文件内容>文件名称.文件后缀 del 删除文件 exit 退出命令行 ...
分类:
其他好文 时间:
2019-06-07 11:11:46
阅读次数:
65
include include include include include int main(int argc, char argv[]) { int status; pid_t pid; pid = fork(); if (0 == pid) { exit(atoi(argv[1])); } ...
分类:
其他好文 时间:
2019-06-06 20:51:56
阅读次数:
350
今天学习一种全新的输入控件——QRubberBand()控件(橡皮筋选中) 一.描述 QRubberBand()提供了一个矩形或西安来只是选择或边界的效果(就像在桌面上点击鼠标后拖拽拉出来的框一样),一般和鼠标事件一同协作。 该控件是继承自QWidget()控件的。 二.功能作用 1.构造函数 控件 ...
分类:
其他好文 时间:
2019-06-06 00:12:58
阅读次数:
309
1、raw_input("\n\nPress the enter key to exit.") 以上代码中 ,"\n\n"在结果输出前会输出两个新的空行。一旦用户按下 enter(回车) 键退出,其它键显示。raw_input提示用户输入数据 2、Python可以在同一行中使用多条语句,语句之间使用 ...
分类:
编程语言 时间:
2019-06-05 15:03:55
阅读次数:
138
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <button onclick="fullScreen()">???????????</button> <button onclic ...
分类:
其他好文 时间:
2019-06-05 12:39:45
阅读次数:
74
转自:https://www.cnblogs.com/amanlikethis/p/5537175.html 函数简介 pthread_create是UNIX环境创建线程函数 头文件 #include<pthread.h> 函数声明 int pthread_create(pthread_t *res ...
分类:
编程语言 时间:
2019-06-04 12:40:20
阅读次数:
101
C# :如何优雅地退出WPF应用程序 前言 I should know how I am supposed to exit my application when the user clicks on the Exit menu item from the File menu. 或者点击window ...
原题链接在这里:https://leetcode.com/problems/next-greater-node-in-linked-list/ 题目: We are given a linked list with head as the first node. Let's number the n ...
分类:
其他好文 时间:
2019-06-03 14:28:07
阅读次数:
137