上一页 1 ··· 91 92 93 94 95 96 97 98 99 ··· 123 下一页
摘要: void arrDemo8() { int* p; p = returnArr(); cout << typeid(p).name() << endl; for (int i = 0; i < 10; i++) { cout << *(p+i) << endl; } } int* returnArr 阅读全文
posted @ 2021-09-03 20:46 FredGrit 阅读(103) 评论(0) 推荐(0)
摘要: your licence has gone stale and must be updated Copy from https://stackoverflow.com/questions/43390466/is-visual-studio-community-a-30-day-trial. To b 阅读全文
posted @ 2021-08-10 16:46 FredGrit 阅读(17) 评论(0) 推荐(0)
摘要: void testStringFindAndSubstrDemo() { string str = "hello,world,hello,c++,hello,boost, ,hello,cpp,,hellocpp,,,,,,,,HellostrFind"; string delim = ","; s 阅读全文
posted @ 2021-07-19 15:17 FredGrit 阅读(32) 评论(0) 推荐(0)
摘要: #include <iostream> #include <typeinfo> #include <istream> #include <fstream> #include <string> #include <sstream> #include <vector> void readBigFileD 阅读全文
posted @ 2021-07-16 09:52 FredGrit 阅读(77) 评论(0) 推荐(0)
摘要: 1 #pragma comment(lib,"rpcrt4.lib") 2 #include<Windows.h> 3 #include<iostream> 4 #include<algorithm> 5 #include<string> 6 #include<fstream> 7 #include 阅读全文
posted @ 2021-07-08 18:53 FredGrit 阅读(85) 评论(0) 推荐(0)
摘要: static void Main(string[] args) { string fileName = @"logFile3.txt"; ReadFile(fileName); Console.ReadLine(); } static void ReadFile(string fileName) { 阅读全文
posted @ 2021-06-24 15:35 FredGrit 阅读(62) 评论(0) 推荐(0)
摘要: 1.install-package Microsoft.Xaml.Behaviors.Wpf; 2.xmlns:i="http://schemas.microsoft.com/xaml/behaviors"; 3. <DataGrid x:Name="dg" Grid.Row="0" ItemsSo 阅读全文
posted @ 2021-06-11 11:53 FredGrit 阅读(77) 评论(0) 推荐(0)
摘要: 1 #include <iostream> 2 #include <map> 3 4 using namespace std; 5 6 map<int, unsigned long long> fibMap; 7 unsigned long long fibDemo4(int i); 8 9 int 阅读全文
posted @ 2021-05-26 10:24 FredGrit 阅读(60) 评论(0) 推荐(0)
摘要: #pragma comment(lib, "rpcrt4.lib") #include <iostream> #include <time.h> #include <windows.h> #include <sstream> #include <fstream> using namespace st 阅读全文
posted @ 2021-05-24 19:46 FredGrit 阅读(65) 评论(0) 推荐(0)
摘要: #include <chrono> using namespace std; void chronoDemo9() { cout << "Started" << endl; for (int i = 0; i < 10; i++) { std::chrono::time_point<std::chr 阅读全文
posted @ 2021-05-18 09:36 FredGrit 阅读(66) 评论(0) 推荐(0)
上一页 1 ··· 91 92 93 94 95 96 97 98 99 ··· 123 下一页