原创 Lua獲取Table中相同值個數

tabT={} tab = {1,2,2,2,3,4,1} function TTT()     table.sort(tab)         f

原创 C++ 如何一次性獲取用戶輸入並判斷是否爲數字?

#include "stdafx.h"#include <iostream>using namespace std;bool isNumber(char *str){        char *p = str;    if (*p ==

原创 Lua_Table_讀取配置及取數據

tBl_Test = { [1001] = {2,4,6,7}, [1002] = {3,1,5,9}, } local Indexid = 100