会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
FredGrit
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
88
89
90
91
92
93
94
95
96
···
123
下一页
2021年12月12日
c++ multi pthread pass struct
摘要: #include <stdio.h> #include <stdlib.h> #include <uuid/uuid.h> #include <unistd.h> #include <fstream> #include <istream> #include <ostream> #include <s
阅读全文
posted @ 2021-12-12 15:07 FredGrit
阅读(41)
评论(0)
推荐(0)
2021年12月10日
C++ pthread create and join
摘要: #include <stdlib.h> #include <stdio.h> #include <uuid/uuid.h> #include <time.h> #include <sstream> #include <stack> #include <iostream> #include <stri
阅读全文
posted @ 2021-12-10 17:21 FredGrit
阅读(81)
评论(0)
推荐(0)
C write and read file via FILE and open method in a+ or r mode
摘要: #include <iostream> #include <uuid/uuid.h> #include <time.h> #include <unistd.h> #include <fstream> #include <istream> #include <ostream> #include <ss
阅读全文
posted @ 2021-12-10 10:00 FredGrit
阅读(37)
评论(0)
推荐(0)
2021年12月8日
C++ pass function as paramenter
摘要: void retrieveTime5(char *dtValue); void showTime6(); void passFunc(void(*funcName)()); int main() { passFunc(&showTime6); return 0; } void passFunc(vo
阅读全文
posted @ 2021-12-08 12:50 FredGrit
阅读(62)
评论(0)
推荐(0)
2021年12月6日
C++retrieve array via returned pointer,traverse the array pointer without the array size
摘要: char **arrayP6(); void retrieveUuid(char *uuidValue); void array8(); int main() { array8(); return 0; } void array8() { char **p=arrayP6(); for(int i=
阅读全文
posted @ 2021-12-06 09:59 FredGrit
阅读(36)
评论(0)
推荐(0)
2021年12月4日
C++ pass array as pointer and sort in bubble
摘要: #include <iostream> #include <uuid/uuid.h> #include <vector> #include <DynamicArray.h> #include <MathHelper.h> #include <random> void arrayOrder6(int
阅读全文
posted @ 2021-12-04 14:45 FredGrit
阅读(44)
评论(0)
推荐(0)
C++ compile multiple cpp and header files via -I. cpp1.cpp cpp2.cpp -o
摘要: 1.The first header file. //DynamicArray.h#include <cassert> #include <stdio.h> #include <stdlib.h> using namespace std; class DynamicArray { private:
阅读全文
posted @ 2021-12-04 13:31 FredGrit
阅读(98)
评论(0)
推荐(0)
2021年12月2日
C++ execute create table sql
摘要: #include <iostream> #include <stdlib.h> #include <stdio.h> #include <mysql_connection.h> #include <cppconn/driver.h> #include <cppconn/exception.h> #i
阅读全文
posted @ 2021-12-02 16:05 FredGrit
阅读(116)
评论(0)
推荐(0)
C++ mysql create store procedure and call sp
摘要: //Create Store Procedure via below sql statement// //Create Procedure Sp_InsertIntoBookTable6( bId varchar(40), bAuthor varchar(40), bTitle varchar(40
阅读全文
posted @ 2021-12-02 15:44 FredGrit
阅读(86)
评论(0)
推荐(0)
2021年12月1日
C++ connection mysql and retrieve select sql result
摘要: 1.Install mysqlconnector for c++ via executing below cmd; sudo apt-get install libmysqlcppconn-dev 2. #include <iostream> #include <stdlib.h> #include
阅读全文
posted @ 2021-12-01 14:31 FredGrit
阅读(55)
评论(0)
推荐(0)
上一页
1
···
88
89
90
91
92
93
94
95
96
···
123
下一页
公告