编译单个文件... -------- - 文件名: E:\uu\GameViewer\Download\MemoryTool_fixed.cpp - 编译器名: TDM-GCC 4.9.2 64-bit Release 处理 C++ 源文件... -------- - C++ 编译器: D:\Dev-Cpp\MinGW64\bin\g++.exe - 命令: g++.exe "E:\uu\GameViewer\Download\MemoryTool_fixed.cpp" -o "E:\uu\GameViewer\Download\MemoryTool_fixed.exe" -std=gnu++11 -std=gnu++11 -mwindows -lgdi32 -lcomdlg32 -I"D:\Dev-Cpp\MinGW64\include" -I"D:\Dev-Cpp\MinGW64\x86_64-w64-mingw32\include" -I"D:\Dev-Cpp\MinGW64\lib\gcc\x86_64-w64-mingw32\4.9.2\include" -I"D:\Dev-Cpp\MinGW64\lib\gcc\x86_64-w64-mingw32\4.9.2\include\c++" -L"D:\Dev-Cpp\MinGW64\lib" -L"D:\Dev-Cpp\MinGW64\x86_64-w64-mingw32\lib" -static -static-libgcc -static-libstdc++ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3406:39: warning: missing terminating ' character if (len > 0 && line[len-1] == L' ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3406:9: error: stray 'L' in program if (len > 0 && line[len-1] == L' ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3407:1: warning: missing terminating ' character ') line[len-1] = 0; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3407:1: error: missing terminating ' character E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:39:50: error: 'ScanValueType' has not been declared bool InstallHotkey(DWORD vkCode, uintptr_t addr, ScanValueType type, const wchar_t* valueStr); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:40:29: error: 'g_threadCount' was not declared in this scope std::vector threads(g_threadCount); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:41:13: error: 'ThreadScanData' was not declared in this scope std::vector threadData(g_threadCount); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:41:27: error: template argument 1 is invalid std::vector threadData(g_threadCount); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:41:27: error: template argument 2 is invalid E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:41:39: error: invalid type in declaration before '(' token std::vector threadData(g_threadCount); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:41:40: error: 'g_threadCount' was not declared in this scope std::vector threadData(g_threadCount); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp: In function 'void LogMessage(const wchar_t*)': E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:252:10: error: 'g_hwndLog' was not declared in this scope if (!g_hwndLog) return; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:253:36: error: 'g_hwndLog' was not declared in this scope int len = GetWindowTextLengthW(g_hwndLog); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp: In function 'void InitDirectSyscall()': E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:300:12: error: 'g_syscallStubs' was not declared in this scope memset(g_syscallStubs, 0, sizeof(g_syscallStubs)); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:311:30: error: 'InitSyscallStubs' was not declared in this scope if (InitSyscallStubs()) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp: At global scope: E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:681:13: error: 'ScanResult' was not declared in this scope std::vector g_results; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:681:23: error: template argument 1 is invalid std::vector g_results; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:681:23: error: template argument 2 is invalid E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:681:34: error: invalid type in declaration before ';' token std::vector g_results; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:682:1: error: 'ScanParams' does not name a type ScanParams g_scanParams; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:683:13: error: 'ModifyHistory' was not declared in this scope std::vector g_history; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:683:26: error: template argument 1 is invalid std::vector g_history; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:683:26: error: template argument 2 is invalid E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:683:37: error: invalid type in declaration before ';' token std::vector g_history; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp: In function 'void SelfDestruct()': E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:690:13: error: 'g_scanParams' was not declared in this scope memset(&g_scanParams, 0, sizeof(g_scanParams)); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:693:17: error: 'CloseTarget' was not declared in this scope CloseTarget(); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp: In function 'void CloseTarget()': E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:1737:15: error: request for member 'clear' in 'g_results', which is of non-class type 'int' g_results.clear(); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp: In function 'void DoFirstScanMultiThread()': E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2244:15: error: request for member 'clear' in 'g_results', which is of non-class type 'int' g_results.clear(); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2248:5: error: 'g_scanParams' was not declared in this scope g_scanParams.type = (ScanValueType)SendMessageW(g_hwndTypeCombo, CB_GETCURSEL, 0, 0); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2309:21: error: invalid types 'int[int]' for array subscript threadData[i].hProcess = g_hTarget; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2310:21: error: invalid types 'int[int]' for array subscript threadData[i].params = g_scanParams; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2311:21: error: invalid types 'int[int]' for array subscript threadData[i].completed = false; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2312:21: error: invalid types 'int[int]' for array subscript threadData[i].threadId = i; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2317:37: error: invalid types 'int[size_t {aka long long unsigned int}]' for array subscript threadData[i % g_threadCount].regions.push_back(g_regions[i]); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2327:94: error: invalid types 'int[int]' for array subscript threads[i] = (HANDLE)(uintptr_t)_beginthreadex(NULL, 0, ThreadScanFunc, &threadData[i], 0, NULL); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2341:37: error: invalid types 'int[int]' for array subscript totalScanned += threadData[i].totalScanned; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2342:19: error: request for member 'insert' in 'g_results', which is of non-class type 'int' g_results.insert(g_results.end(), threadData[i].results.begin(), threadData[i].results.end()); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2342:36: error: request for member 'end' in 'g_results', which is of non-class type 'int' g_results.insert(g_results.end(), threadData[i].results.begin(), threadData[i].results.end()); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2342:55: error: invalid types 'int[int]' for array subscript g_results.insert(g_results.end(), threadData[i].results.begin(), threadData[i].results.end()); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2342:86: error: invalid types 'int[int]' for array subscript g_results.insert(g_results.end(), threadData[i].results.begin(), threadData[i].results.end()); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2346:19: error: no match for 'operator=' (operand types are 'std::vector' and 'int') g_prevResults = g_results; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2346:19: note: candidates are: In file included from D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/vector:69:0, from E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:17: D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/vector.tcc:167:5: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = ScanResult; _Alloc = std::allocator] vector<_Tp, _Alloc>:: ^ D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/vector.tcc:167:5: note: no known conversion for argument 1 from 'int' to 'const std::vector&' In file included from D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/vector:64:0, from E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:17: D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/stl_vector.h:448:7: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = ScanResult; _Alloc = std::allocator] operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move()) ^ D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/stl_vector.h:448:7: note: no known conversion for argument 1 from 'int' to 'std::vector&&' D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/stl_vector.h:470:7: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = ScanResult; _Alloc = std::allocator] operator=(initializer_list __l) ^ D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/stl_vector.h:470:7: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2350:24: error: request for member 'size' in 'g_results', which is of non-class type 'int' g_results.size(), totalScanned / (1024 * 1024)); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp: In function 'void DoFirstScan()': E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2367:15: error: request for member 'clear' in 'g_results', which is of non-class type 'int' g_results.clear(); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2370:5: error: 'g_scanParams' was not declared in this scope g_scanParams.type = (ScanValueType)SendMessageW(g_hwndTypeCombo, CB_GETCURSEL, 0, 0); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2468:39: error: request for member 'push_back' in 'g_results', which is of non-class type 'int' g_results.push_back(sr); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2483:39: error: request for member 'push_back' in 'g_results', which is of non-class type 'int' g_results.push_back(sr); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2498:39: error: request for member 'push_back' in 'g_results', which is of non-class type 'int' g_results.push_back(sr); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2513:39: error: request for member 'push_back' in 'g_results', which is of non-class type 'int' g_results.push_back(sr); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2528:39: error: request for member 'push_back' in 'g_results', which is of non-class type 'int' g_results.push_back(sr); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2543:39: error: request for member 'push_back' in 'g_results', which is of non-class type 'int' g_results.push_back(sr); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2556:27: error: request for member 'size' in 'g_results', which is of non-class type 'int' if (g_results.size() > 10000000) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2558:94: error: request for member 'size' in 'g_results', which is of non-class type 'int' swprintf(msg, L"缁撴灉杩囧锛?zu锛夛紝璇风缉灏忔悳绱㈣寖鍥淬€?, g_results.size()); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2567:19: error: no match for 'operator=' (operand types are 'std::vector' and 'int') g_prevResults = g_results; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2567:19: note: candidates are: In file included from D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/vector:69:0, from E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:17: D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/vector.tcc:167:5: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = ScanResult; _Alloc = std::allocator] vector<_Tp, _Alloc>:: ^ D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/vector.tcc:167:5: note: no known conversion for argument 1 from 'int' to 'const std::vector&' In file included from D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/vector:64:0, from E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:17: D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/stl_vector.h:448:7: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = ScanResult; _Alloc = std::allocator] operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move()) ^ D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/stl_vector.h:448:7: note: no known conversion for argument 1 from 'int' to 'std::vector&&' D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/stl_vector.h:470:7: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = ScanResult; _Alloc = std::allocator] operator=(initializer_list __l) ^ D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/stl_vector.h:470:7: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2571:24: error: request for member 'size' in 'g_results', which is of non-class type 'int' g_results.size(), totalScanned / (1024 * 1024)); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp: In function 'void DoNextScan()': E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2588:5: error: 'g_scanParams' was not declared in this scope g_scanParams.type = (ScanValueType)SendMessageW(g_hwndTypeCombo, CB_GETCURSEL, 0, 0); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2692:15: error: cannot convert 'std::vector' to 'int' in assignment g_results = narrowed; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2693:19: error: no match for 'operator=' (operand types are 'std::vector' and 'int') g_prevResults = g_results; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2693:19: note: candidates are: In file included from D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/vector:69:0, from E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:17: D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/vector.tcc:167:5: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = ScanResult; _Alloc = std::allocator] vector<_Tp, _Alloc>:: ^ D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/vector.tcc:167:5: note: no known conversion for argument 1 from 'int' to 'const std::vector&' In file included from D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/vector:64:0, from E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:17: D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/stl_vector.h:448:7: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = ScanResult; _Alloc = std::allocator] operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move()) ^ D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/stl_vector.h:448:7: note: no known conversion for argument 1 from 'int' to 'std::vector&&' D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/stl_vector.h:470:7: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = ScanResult; _Alloc = std::allocator] operator=(initializer_list __l) ^ D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/stl_vector.h:470:7: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2696:65: error: request for member 'size' in 'g_results', which is of non-class type 'int' swprintf(status, L"鍐嶆鎵弿锛?zu 涓尮閰?, g_results.size()); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp: In function 'void DoUnknownScan()': E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2711:15: error: request for member 'clear' in 'g_results', which is of non-class type 'int' g_results.clear(); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2714:5: error: 'g_scanParams' was not declared in this scope g_scanParams.type = (ScanValueType)SendMessageW(g_hwndTypeCombo, CB_GETCURSEL, 0, 0); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2758:27: error: request for member 'push_back' in 'g_results', which is of non-class type 'int' g_results.push_back(sr); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2763:27: error: request for member 'size' in 'g_results', which is of non-class type 'int' if (g_results.size() > 10000000) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2765:67: error: request for member 'size' in 'g_results', which is of non-class type 'int' swprintf(msg, L"缁撴灉杩囧锛?zu锛?, g_results.size()); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2774:19: error: no match for 'operator=' (operand types are 'std::vector' and 'int') g_prevResults = g_results; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2774:19: note: candidates are: In file included from D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/vector:69:0, from E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:17: D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/vector.tcc:167:5: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = ScanResult; _Alloc = std::allocator] vector<_Tp, _Alloc>:: ^ D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/vector.tcc:167:5: note: no known conversion for argument 1 from 'int' to 'const std::vector&' In file included from D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/vector:64:0, from E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:17: D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/stl_vector.h:448:7: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = ScanResult; _Alloc = std::allocator] operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move()) ^ D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/stl_vector.h:448:7: note: no known conversion for argument 1 from 'int' to 'std::vector&&' D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/stl_vector.h:470:7: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = ScanResult; _Alloc = std::allocator] operator=(initializer_list __l) ^ D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/stl_vector.h:470:7: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2777:84: error: request for member 'size' in 'g_results', which is of non-class type 'int' swprintf(status, L"鏈煡鍒濆鍊兼壂鎻忥細宸叉崟鑾?%zu 涓湴鍧€", g_results.size()); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp: In function 'void DoAOBScan(const char*, const char*)': E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2791:15: error: request for member 'clear' in 'g_results', which is of non-class type 'int' g_results.clear(); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2843:31: error: request for member 'push_back' in 'g_results', which is of non-class type 'int' g_results.push_back(sr); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2853:19: error: no match for 'operator=' (operand types are 'std::vector' and 'int') g_prevResults = g_results; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2853:19: note: candidates are: In file included from D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/vector:69:0, from E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:17: D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/vector.tcc:167:5: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = ScanResult; _Alloc = std::allocator] vector<_Tp, _Alloc>:: ^ D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/vector.tcc:167:5: note: no known conversion for argument 1 from 'int' to 'const std::vector&' In file included from D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/vector:64:0, from E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:17: D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/stl_vector.h:448:7: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = ScanResult; _Alloc = std::allocator] operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move()) ^ D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/stl_vector.h:448:7: note: no known conversion for argument 1 from 'int' to 'std::vector&&' D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/stl_vector.h:470:7: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = ScanResult; _Alloc = std::allocator] operator=(initializer_list __l) ^ D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/stl_vector.h:470:7: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2856:89: error: request for member 'size' in 'g_results', which is of non-class type 'int' swprintf(status, L"AOB鎵弿锛?zu 涓尮閰嶏紝妯″紡闀垮害 [%d 瀛楄妭]", g_results.size(), patLen); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp: In function 'void DoPointerScan(uintptr_t, int)': E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2955:15: error: request for member 'clear' in 'g_results', which is of non-class type 'int' g_results.clear(); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2963:19: error: request for member 'push_back' in 'g_results', which is of non-class type 'int' g_results.push_back(sr); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2965:19: error: no match for 'operator=' (operand types are 'std::vector' and 'int') g_prevResults = g_results; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:2965:19: note: candidates are: In file included from D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/vector:69:0, from E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:17: D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/vector.tcc:167:5: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = ScanResult; _Alloc = std::allocator] vector<_Tp, _Alloc>:: ^ D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/vector.tcc:167:5: note: no known conversion for argument 1 from 'int' to 'const std::vector&' In file included from D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/vector:64:0, from E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:17: D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/stl_vector.h:448:7: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = ScanResult; _Alloc = std::allocator] operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move()) ^ D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/stl_vector.h:448:7: note: no known conversion for argument 1 from 'int' to 'std::vector&&' D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/stl_vector.h:470:7: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = ScanResult; _Alloc = std::allocator] operator=(initializer_list __l) ^ D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/stl_vector.h:470:7: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' E:\uu\GameViewer\Download\MemoryTool_fixed.cpp: In function 'void UpdateFrozenValues()': E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3020:38: error: request for member 'size' in 'g_results', which is of non-class type 'int' for (size_t i = 0; i < g_results.size(); i++) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3021:36: error: invalid types 'int[size_t {aka long long unsigned int}]' for array subscript ScanResult& r = g_results[i]; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp: In function 'void SaveCTTable(const wchar_t*)': E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3048:35: error: request for member 'size' in 'g_results', which is of non-class type 'int' fprintf(f, "%zu\n", g_results.size()); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3050:38: error: request for member 'size' in 'g_results', which is of non-class type 'int' for (size_t i = 0; i < g_results.size(); i++) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3051:42: error: invalid types 'int[size_t {aka long long unsigned int}]' for array subscript const ScanResult& r = g_results[i]; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp: In function 'void LoadCTTable(const wchar_t*)': E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3086:15: error: request for member 'clear' in 'g_results', which is of non-class type 'int' g_results.clear(); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3087:15: error: request for member 'reserve' in 'g_results', which is of non-class type 'int' g_results.reserve(count); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3107:19: error: request for member 'push_back' in 'g_results', which is of non-class type 'int' g_results.push_back(sr); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3111:19: error: no match for 'operator=' (operand types are 'std::vector' and 'int') g_prevResults = g_results; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3111:19: note: candidates are: In file included from D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/vector:69:0, from E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:17: D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/vector.tcc:167:5: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = ScanResult; _Alloc = std::allocator] vector<_Tp, _Alloc>:: ^ D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/vector.tcc:167:5: note: no known conversion for argument 1 from 'int' to 'const std::vector&' In file included from D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/vector:64:0, from E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:17: D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/stl_vector.h:448:7: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = ScanResult; _Alloc = std::allocator] operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move()) ^ D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/stl_vector.h:448:7: note: no known conversion for argument 1 from 'int' to 'std::vector&&' D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/stl_vector.h:470:7: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = ScanResult; _Alloc = std::allocator] operator=(initializer_list __l) ^ D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/bits/stl_vector.h:470:7: note: no known conversion for argument 1 from 'int' to 'std::initializer_list' E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3114:64: error: request for member 'size' in 'g_results', which is of non-class type 'int' swprintf(msg, L"CT琛ㄥ凡鍔犺浇锛?zu 鏉¤褰?, g_results.size()); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp: In function 'void ExportResults(const wchar_t*)': E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3132:38: error: request for member 'size' in 'g_results', which is of non-class type 'int' for (size_t i = 0; i < g_results.size(); i++) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3133:42: error: invalid types 'int[size_t {aka long long unsigned int}]' for array subscript const ScanResult& r = g_results[i]; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3163:64: error: request for member 'size' in 'g_results', which is of non-class type 'int' swprintf(msg, L"缁撴灉宸插鍑? %zu 鏉¤褰?, g_results.size()); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp: In function 'void RecordHistory(uintptr_t, ScanValueType, ValueUnion, ValueUnion, const wchar_t*)': E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3191:15: error: request for member 'push_back' in 'g_history', which is of non-class type 'int' g_history.push_back(h); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp: In function 'void BatchFreezeSelected(const std::vector&)': E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3198:46: error: request for member 'size' in 'g_results', which is of non-class type 'int' if (idx >= 0 && idx < (int)g_results.size()) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3199:26: error: invalid types 'int[int]' for array subscript g_results[idx].frozen = true; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3200:34: error: invalid types 'int[int]' for array subscript memcpy(&g_results[idx].freezeValue, &g_results[idx].lastValue, sizeof(ValueUnion)); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3200:63: error: invalid types 'int[int]' for array subscript memcpy(&g_results[idx].freezeValue, &g_results[idx].lastValue, sizeof(ValueUnion)); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3203:66: error: invalid types 'int[int]' for array subscript swprintf(msg, L"鎵归噺閿佸畾: %016llX", g_results[idx].address); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp: In function 'void BatchUnfreezeSelected(const std::vector&)': E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3215:46: error: request for member 'size' in 'g_results', which is of non-class type 'int' if (idx >= 0 && idx < (int)g_results.size()) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3216:26: error: invalid types 'int[int]' for array subscript g_results[idx].frozen = false; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp: In function 'void BatchWriteSelected(const std::vector&, const wchar_t*)': E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3227:46: error: request for member 'size' in 'g_results', which is of non-class type 'int' if (idx < 0 || idx >= (int)g_results.size()) continue; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3229:49: error: invalid types 'int[int]' for array subscript const ScanResult& target = g_results[idx]; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp: In function 'void ExportHistory(const wchar_t*)': E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3282:38: error: request for member 'size' in 'g_history', which is of non-class type 'int' for (size_t i = 0; i < g_history.size(); i++) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3283:45: error: invalid types 'int[size_t {aka long long unsigned int}]' for array subscript const ModifyHistory& h = g_history[i]; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3313:64: error: request for member 'size' in 'g_history', which is of non-class type 'int' swprintf(msg, L"鍘嗗彶璁板綍宸插鍑? %zu 鏉?, g_history.size()); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp: In function 'bool LoadScript(const wchar_t*)': E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3409:27: error: expected primary-expression before 'inst' ScriptInstruction inst; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3409:27: error: expected ')' before 'inst' E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3410:36: error: 'inst' was not declared in this scope if (ParseScriptLine(line, &inst)) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp: In function 'bool ExecuteScriptStep()': E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3442:50: error: request for member 'empty' in 'g_results', which is of non-class type 'int' if (inst.argCount >= 2 && !g_results.empty()) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3444:54: error: request for member 'size' in 'g_results', which is of non-class type 'int' if (idx >= 0 && idx < (int)g_results.size()) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3453:50: error: request for member 'empty' in 'g_results', which is of non-class type 'int' if (inst.argCount >= 1 && !g_results.empty()) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3455:54: error: request for member 'size' in 'g_results', which is of non-class type 'int' if (idx >= 0 && idx < (int)g_results.size()) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3456:34: error: invalid types 'int[int]' for array subscript g_results[idx].frozen = true; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3457:42: error: invalid types 'int[int]' for array subscript memcpy(&g_results[idx].freezeValue, &g_results[idx].lastValue, sizeof(ValueUnion)); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3457:71: error: invalid types 'int[int]' for array subscript memcpy(&g_results[idx].freezeValue, &g_results[idx].lastValue, sizeof(ValueUnion)); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3463:50: error: request for member 'empty' in 'g_results', which is of non-class type 'int' if (inst.argCount >= 1 && !g_results.empty()) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3465:54: error: request for member 'size' in 'g_results', which is of non-class type 'int' if (idx >= 0 && idx < (int)g_results.size()) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3466:34: error: invalid types 'int[int]' for array subscript g_results[idx].frozen = false; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp: In function 'void UpdateResultList()': E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3573:30: error: request for member 'size' in 'g_results', which is of non-class type 'int' size_t count = g_results.size(); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3578:42: error: invalid types 'int[size_t {aka long long unsigned int}]' for array subscript const ScanResult& r = g_results[i]; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3611:19: error: request for member 'size' in 'g_results', which is of non-class type 'int' if (g_results.size() > (size_t)MAX_RESULTS_DISPLAY) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3614:28: error: request for member 'size' in 'g_results', which is of non-class type 'int' g_results.size() - MAX_RESULTS_DISPLAY, MAX_RESULTS_DISPLAY); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp: In function 'void UpdateFreezeList()': E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3646:38: error: request for member 'size' in 'g_results', which is of non-class type 'int' for (size_t i = 0; i < g_results.size(); i++) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3647:25: error: invalid types 'int[size_t {aka long long unsigned int}]' for array subscript if (!g_results[i].frozen) continue; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3649:59: error: invalid types 'int[size_t {aka long long unsigned int}]' for array subscript swprintf(item, L"%016llX | 宸查攣瀹?, g_results[i].address); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp: In function 'LRESULT WndProc(HWND, UINT, WPARAM, LPARAM)': E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3915:45: error: request for member 'empty' in 'g_results', which is of non-class type 'int' if (!g_hTarget || g_results.empty()) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3920:54: error: request for member 'size' in 'g_results', which is of non-class type 'int' if (sel < 0 || sel >= (int)g_results.size()) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3927:51: error: invalid types 'int[int]' for array subscript ScanResult& target = g_results[sel]; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3971:54: error: request for member 'size' in 'g_results', which is of non-class type 'int' if (sel < 0 || sel >= (int)g_results.size()) break; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3973:30: error: invalid types 'int[int]' for array subscript g_results[sel].frozen = true; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3974:38: error: invalid types 'int[int]' for array subscript memcpy(&g_results[sel].freezeValue, &g_results[sel].lastValue, sizeof(ValueUnion)); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3974:67: error: invalid types 'int[int]' for array subscript memcpy(&g_results[sel].freezeValue, &g_results[sel].lastValue, sizeof(ValueUnion)); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3975:44: error: invalid types 'int[int]' for array subscript RecordHistory(g_results[sel].address, g_results[sel].type, ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3975:68: error: invalid types 'int[int]' for array subscript RecordHistory(g_results[sel].address, g_results[sel].type, ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3976:43: error: invalid types 'int[int]' for array subscript g_results[sel].lastValue, g_results[sel].lastValue, L"閿佸畾"); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3976:69: error: invalid types 'int[int]' for array subscript g_results[sel].lastValue, g_results[sel].lastValue, L"閿佸畾"); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3979:68: error: invalid types 'int[int]' for array subscript swprintf(msg, L"宸查攣瀹氾細%016llX", g_results[sel].address); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3986:54: error: request for member 'size' in 'g_results', which is of non-class type 'int' if (sel < 0 || sel >= (int)g_results.size()) break; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3987:44: error: invalid types 'int[int]' for array subscript RecordHistory(g_results[sel].address, g_results[sel].type, ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3987:68: error: invalid types 'int[int]' for array subscript RecordHistory(g_results[sel].address, g_results[sel].type, ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3988:43: error: invalid types 'int[int]' for array subscript g_results[sel].freezeValue, g_results[sel].lastValue, L"瑙i攣"); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3988:71: error: invalid types 'int[int]' for array subscript g_results[sel].freezeValue, g_results[sel].lastValue, L"瑙i攣"); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3989:30: error: invalid types 'int[int]' for array subscript g_results[sel].frozen = false; ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3994:45: error: request for member 'empty' in 'g_results', which is of non-class type 'int' if (!g_hTarget || g_results.empty()) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:3999:54: error: request for member 'size' in 'g_results', which is of non-class type 'int' if (sel < 0 || sel >= (int)g_results.size()) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:4003:44: error: invalid types 'int[int]' for array subscript DoPointerScan(g_results[sel].address, 3); ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:4035:31: error: request for member 'empty' in 'g_results', which is of non-class type 'int' if (g_results.empty()) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:4055:31: error: request for member 'empty' in 'g_results', which is of non-class type 'int' if (g_results.empty()) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:4060:50: error: request for member 'size' in 'g_results', which is of non-class type 'int' for (size_t i = 0; i < g_results.size(); i++) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:4068:31: error: request for member 'empty' in 'g_results', which is of non-class type 'int' if (g_results.empty()) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:4073:50: error: request for member 'size' in 'g_results', which is of non-class type 'int' for (size_t i = 0; i < g_results.size(); i++) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:4081:31: error: request for member 'empty' in 'g_history', which is of non-class type 'int' if (g_history.empty()) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:4137:54: error: request for member 'size' in 'g_results', which is of non-class type 'int' if (sel >= 0 && sel < (int)g_results.size()) { ^ E:\uu\GameViewer\Download\MemoryTool_fixed.cpp:4138:47: error: invalid types 'int[int]' for array subscript ShowMemoryAt(g_results[sel].address); ^ 编译结果... -------- - 错误: 145 - 警告: 2 - 编译时间: 0.49s