摘要:
在字符串前加一个L作用: Unicode字符集是两个字节组成的。L告示编译器使用两个字节的 unicode 字符集。 如:L"我的字符串" 表示将ANSI字符串转换成unicode的字符串,就是每个字符占用两个字节。 strlen("asd") = 3; strlen(L"asd") = 6; _T 阅读全文
摘要:
#!/usr/bin/python3 # -*- coding: utf-8 -*- import json import time import datetime import pickle import requests import random def notification(param, 阅读全文
摘要:
import tkinter import tkinter as tk from tkinter import * import tkinter.filedialog import tkinter.messagebox import tkinter.scrolledtext import tkint 阅读全文
摘要:
平时我们往往需要用Word打字,但是有时候会出现我们不得不上交手写的版本的情况,不管是扫描也好,抑或是打印出来的纸质版也罢,正是那种不太符合当下时代的“提交手写版”的要求,让我们不得不想出一个行之有效的方法,让我们能够在电脑上打完之后就直接做成手写体,像是跟纯手写的一样。 前提是,你得有Micros 阅读全文
摘要:
#include <iostream> using namespace std; //直接在调用的时候传入长度的方法才是正确的 int getLengthCorrectly(int arr[], int length) { //相当于 int* arr int sum=0; for(int i=0; 阅读全文
摘要:
Set s=CreateObject("sapi.spvoice") s.speak"Hello? Are you sure you want to leave?" 阅读全文
摘要:
将下面的文件写道txt文件中并将txt后缀改为.bat 之后点击该批处理脚本即可看到效果。 fsutil file createnew D:\ProgrameData.newfile 4096000000 上方代码只作为参考,会在D盘下创造出名为 ProgrameData.newfile 的 3.8 阅读全文
摘要:
将下面的文件写道txt文件中并将txt后缀改为.bat 之后点击该批处理脚本即可看到效果。 @echo off setlocal ENABLEDELAYEDEXPANSION for /l %%i in (1,1,80) do ( set Down%%i=0 ) for /l %%i in (0) 阅读全文