原创 React Native圖片顯示以及點擊

/** * Sample React Native App * https://github.com/facebook/react-native * * @format * @flow * @lint-ignore-ever

原创 C++文件簡單的讀寫

#include<iostream> #include<fstream> using namespace std; int main() { ofstream out("out.txt"); if (out.is_open

原创 Lua基本的輸入輸出、字符串轉換爲數字、if else for循環

--[lua print--] print("Hello World!") print("www.runoob.com") print("input a number") --[lua input--] a=io.read() pr

原创 C++遍歷所有當前應用的HWND和標題

#include<Windows.h> #include<iostream> #ifdef _WIN32 #include <process.h> #else #include <unistd.h> #endif #include

原创 c++讀取數據處理皮爾遜

Pearson.h #pragma once #define M 10 #define N 2 #define K 2 long double calcCov(long double s[], long double t[])

原创 安卓中註冊協議文字以及點擊跳轉鏈接

String textProtocol = "提交註冊代表您已閱讀並同意用戶協議、隱私政策、策略會員訂閱協議"; SpannableString spannableString = new Spann

原创 MFC中使用WriteProcessMemory向某個程序更改值

// TODO: 在此添加控件通知處理程序代碼 HANDLE hProcess; DWORD dwid = 6244; //被寫入進程id hProcess = ::OpenProcess(PROCESS_ALL_ACCESS,

原创 MFC讀取config文件

配置文件characters.config [system] type=0 nodename=quote-live3011 srvname=mt4cplus srvport= jobthread=16 recvthread=32 sen

原创 Windows上的Redis基本操作

進入路徑下   服務端:進入cmd 執行命令(powerShell貌似不行) redis-server redis.windows.conf 客戶端: 執行命令.\redis-cli.exe -h 192.168.0.36 -p 6379

原创 Java發送郵箱

首先需要下載mail.jar,activation.jar,在配置中導入jar依賴:   後面直接上代碼,根據網友改寫的https://www.cnblogs.com/xdp-gacl/p/4216311.html   import

原创 獲取外網ip(從百度搜索然後獲取的外網ip)

http://2019.ip138.com/ic.asp

原创 C++讀取讀取進程以及相關內存內容,獲取遊戲血量和真氣

#include<iostream> #include<Windows.h> #include<cstdlib> using namespace std; int main() {     HWND win = FindWind

原创 CGI參數獲取後處理以及根據鍵獲取值

#include<iostream> #include <cstring> #include<list> using namespace std; const char *query_string = "para1time=va

原创 Spring boot亂碼總結

1.在spring boot上java代碼直接插入數據庫或者查詢亂碼: 原因排除—— 在spring boot配置上連接數據庫url加參數: useUnicode=true&amp;characterEncoding=utf-8 在m

原创 C++判斷某個進程或者窗口是否存在

#include<iostream> #include<cstdlib> #include<Windows.h> using namespace std; //判斷某個窗口是否存在 int main() { while (1)