原创 Centos 8 安裝qq for linux

1. 第一步還是下載, 下載地址    立即下載==>X64架構 rpm格式    下載下來是這樣的:     [root@cocosum tools.base]# ls     linuxqq_2.0.0-b1-1024_x86_64.

原创 Vue+Element-ui Table 列求和

Vue+Element-ui Table 列求和Vue代碼求和getSummaries效果圖 Vue代碼 <el-table v-loading="loading" :data="standardList" @sort-cha

原创 Vue+Element-UI Table表頭排序

Vue+Element-UI Table表頭排序Vue代碼定義後臺需要接受的排序屬性排序sortChange Vue代碼 <el-table v-loading="loading" :data="standardList" @so

原创 C++ 文件寫入讀取

C++ 文件基本操作 1. 文件基本寫入 要想實現一個文件的基本寫入需要用到下面三個函數(基本流程): 步驟 函數 說明 備註 第一步 fopen() 打開文件 fopen(“文件路徑+文件名”, “模式(wb/ab

原创 C/C++ 隨機數(rand/srand)

C/C++隨機數rand() 隨機srand() 隨機 (設置一個種子)srand() 指定範圍隨機隨機0.00 ~ 1.00之間的doublesrand() 隨機0-9之間的數隨機整數範圍內的小數 rand() 隨機 #incl

原创 Java 文件幫助類

import lombok.extern.slf4j.Slf4j; import java.io.*; import java.net.HttpURLConnection; import java.net.URL; /** *

原创 C/C++ 替換字符串(指定char)

#pragma warning(disable:4996) #include<stdio.h> #include<stdlib.h> #include<string.h> // 替換字符串 void replace_str(char*

原创 C/C++ 動態內存分配(申請與釋放)

#include <stdio.h> #include <stdlib.h> #include <string.h> struct User { int id; char name[20]; char phon

原创 C++ 有頭鏈表的插入與刪除

#pragma warning(disable:4996) #include <stdio.h> #include <stdlib.h> #include <string.h> struct User { int id;

原创 C/C++ 鏈表構建、遍歷

1、鏈表的概述、簡單構建、遍歷(無頭鏈表) #pragma warning(disable:4996) #include <stdio.h> #include <stdlib.h> #include <string.h> // 定義一

原创 Apache(Httpd 2.4.XXX) 實現強轉HTTPS

環境 Centos 7.6 與 Httpd 2.4 首先我們需要會Apache的轉發http,也需要會SSL證書的配置(XX雲有免費的) Apache(httpd 2.4.6) 代理轉發Http ←點擊進入 Apache(Httpd 2.

原创 C/C++ 指針的定義與基本使用及修改數組的值

首先了解指針之前需要了解C/C++的變量使用和內存;指向對象的內存地址 指針的定義: int* a; double* b; char*.... ......... 指正的使用: #include <stdio.h> int main

原创 C/C++ 函數的定義與使用

main就是一個函數,它是C++程序的主函數。往往寫程序的時候我們不可能把所有業務寫在一個main函數裏面,所以我們需要定義不同的函數處理不同的邏輯/需求,就像企業不同崗位做不同的事情。 函數又有函數定義和函數原型(函數聲明) 函數原型(

原创 C/C++ 指針作爲函數參數

#include <stdio.h> // 指針的值作爲函數參數 void pointer_fun(int* p); int main() { int a = 0; pointer_fun(&a); prin

原创 Google 賬號註冊手機無法用於驗證

1、大陸用戶註冊google賬號時無法用於驗證手機,先把google瀏覽器切換爲繁體,重啓瀏覽器 2、就OK啦