原创 小程序前端獲取openid
wx.request({ url: 'https://api.weixin.qq.com/sns/jscode2session', data: { appid: 小程序自己的openid, secret: secret, js_code:
原创 各種矩陣的算法
#include<iostream>#include<stdlib.h>using namespace std;class Symmetric{pub
原创 研究生類
#include<iostream>#include<string.h>#include<stdlib.h>using namespace std;c
原创 c's's
列表變成橫向分佈 :float:left;list-style-type:disc 默認值。實心圓。 circle 空心圓。 decimal 1、2、3、4 等等。 lower-alpha a、b、c、d 等等。 lower-ro
原创 模板隊列
#include<iostream>#include<string.h>#include<stdlib.h>using namespace std;c
原创 小程序中input中圖標點擊事件
遇到的問題: input後面的圖標點擊事件爲input的事件 解決問題: <view class="top"> <input class="resarch" placeholder="輸入文章標題" type="text" placeho
原创 模板棧
#include<iostream>#include<string.h>#include<stdlib.h>using namespace std;c
原创 KMP算法
#include<iostream>#include<string.h>#include<stdlib.h>using namespace std;i
原创 小程序獲得用戶頭像
利用官方自帶的open-data https://developers.weixin.qq.com/miniprogram/dev/component/open-data.html 例如: <open-data type="userAva
原创 將代碼放到github中
https://blog.csdn.net/xiaoritai7803/article/details/79462218都在自己寫的gitbash中用
原创 在老師指導下寫的循環隊列
#include<iostream>#include<string.h>#include<stdlib.h>using namespace std;c
原创 如何在主界面中獲得recyclerview中子件的數據
我是想獲得recycler中數據的總和 親測有效噢噢噢噢 在java中定義 private ArrayList<Map<String, String>> houseRes = new ArrayList<>(); publ
原创 recyclerview獲得網絡請求的數據顯示不出來的問題
try { jsonArray = new JSONArray( s0); for(int i=0;i< 10;i++){ JSONObject jsonObject=jsonArray.getJSONO
原创 歸併排序
#include<iostream> #include<string.h> #include<stdlib.h> using namespace std; const int N=204800; void merge(int a[],in
原创 第一次用vector容器
/*設有n個正整數,將他們連接成一排,組成一個最大的多位整數。 如:n=3時,3個整數13,312,343,連成的最大整數爲34331213。 如:n=4時,4個整數7,13,4,246連接成的最大整數爲7424613。 輸入描述: 有多