/// 设置显示登录窗口的方法: /// 在 App.xaml 中把这句 /// 删掉 StartupUri="MainWindow.xaml" 改为 StartupUri="Login/LoginWindow.xaml" // Login/LoginWindow.xaml是登录窗口; /// 加上 ...
Command+alt+T 用 (if..else, try..catch, for, etc.)包住 增加环绕标签 Command+/ 注释/取消注释的行注释 Command+alt+/ 注释/取消注释与块注释 alt+↑ 向上选取代码块 alt+↓ 向下选取代码块 Command+alt+L 格 ...
分类:
Web程序 时间:
2018-07-03 14:33:45
阅读次数:
163
c语言中条件编译相关的预编译指令,包括 #define、#undef、#ifdef、#ifndef、#if、#elif、#else、#endif、defined。 #define 定义一个预处理宏#undef 取消宏的定义#if 编译预处理中的条件命令,相当于C语法中的if语句#ifdef 判断某个 ...
分类:
其他好文 时间:
2018-07-03 00:15:32
阅读次数:
174
三元运算 三元运算又称三目运算,是简单的条件语句的简写,如: val = i if 条件成立 else 2 ...
分类:
其他好文 时间:
2018-07-02 23:06:38
阅读次数:
188
#print("您好,我叫周星驰") ''' x=1+2+3 print(x*4) print(x**x) a=input("请输入相应的数字a") a=int(a) b=input("请输入相应的数字b") b=int(b) print (a+b,type(a+b)) a=2 b=3 print(... ...
分类:
其他好文 时间:
2018-07-02 21:31:58
阅读次数:
145
s="123 abc !@# ^&*" digit_num=0 letter_num=0 space_num=0 other_num=0 for i in s: if i.isalpha(): letter_num+=1 elif i.isdigit(): digit_num+=1 elif i.i ...
分类:
其他好文 时间:
2018-07-02 20:23:39
阅读次数:
135
#encoding=utf-8 week_num=raw_input("input:") if week_num.lower()=="m": print "today is monday" elif week_num.lower()=="w": print "today is wednesday" ...
分类:
其他好文 时间:
2018-07-02 20:23:29
阅读次数:
174
1 #include "stdio.h" 2 #include "malloc.h" 3 typedef int datatype; 4 typedef struct node //定义链式栈结构 5 { datatype data; 6 struct node *next; 7 }StackNod... ...
分类:
其他好文 时间:
2018-07-02 20:16:46
阅读次数:
197