上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: from tkinter import messagebox messagebox.showinfo("提示", "我是一个提示框") 阅读全文
posted @ 2021-06-01 11:25 神迹丶 阅读(849) 评论(0) 推荐(0) 编辑
摘要: import tkinter # place()和pack()的区别 # place可以自定义设置控件显示坐标 # pack自动设置控件的位置在画板中间,并按照pack顺序进行显示布局 # insert函数,根据Text中指定位置设置值,例如Text.insert('0.0', # tk窗口布局 # 阅读全文
posted @ 2021-05-31 22:37 神迹丶 阅读(1815) 评论(0) 推荐(0) 编辑
摘要: import ctypes whnd = ctypes.windll.kernel32.GetConsoleWindow() if whnd != 0: ctypes.windll.user32.ShowWindow(whnd, 0) ctypes.windll.kernel32.CloseHand 阅读全文
posted @ 2021-05-30 18:31 神迹丶 阅读(1010) 评论(0) 推荐(0) 编辑
摘要: @echo off title 创建IP安全策略,屏蔽135、139 . . . 等端口 (win7) netsh ipsec static add policy name=qianye netsh ipsec static add filterlist name=Filter1 netsh ips 阅读全文
posted @ 2021-02-01 11:48 神迹丶 阅读(789) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <string> #include <vector> #include <atlstr.h> #include <winsock2.h> #pragma comment(lib,"ws2_32.lib") using namespace st 阅读全文
posted @ 2020-11-20 15:22 神迹丶 阅读(1981) 评论(0) 推荐(0) 编辑
摘要: ##DDL和DML DDL定义语言 -- -- 1.创建数据库 -- 查看数据库 show databases # 创建数据库 sql语言不区分大小写,除非是在字符串中区分 create database Helloworld; # 如果数据库不存在就创建 create database if no 阅读全文
posted @ 2020-08-22 15:27 神迹丶 阅读(252) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> #include <Netlistmgr.h> static bool checkIsNetwork() { Sleep(1000); CoInitialize(NULL); // 通过NLA接口获取网络状态 IUnknown *pUnknown = NULL; 阅读全文
posted @ 2020-05-22 06:53 神迹丶 阅读(2053) 评论(0) 推荐(0) 编辑
摘要: #ifndef _M_VECTOR_H #define _M_VECTOR_H #define DELETEOBJ(p){if(p!=NULL) delete p;p=NULL; }//释放对象 #define DATASIZE 4 //初始缓冲区大小 template<typename T> cl 阅读全文
posted @ 2020-05-06 21:57 神迹丶 阅读(312) 评论(0) 推荐(0) 编辑
摘要: //头文件#ifndef WUQI_H #define WUQI_H #include <iostream> #include <string> using namespace std; class wuqi { public: virtual int Get_wuqi_gongji() = 0;/ 阅读全文
posted @ 2020-05-03 12:40 神迹丶 阅读(1745) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> using namespace std; int division(int a, int b) //传入2个int型变量若被除数或者除数为0 则抛出异常否则返回结果 { if (a == 0) { cout << "抛出异常" << endl; throw 1 阅读全文
posted @ 2020-04-22 22:21 神迹丶 阅读(2850) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 9 下一页
网站已运行: