上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 76 下一页
摘要: #include <stdio.h> #include <stdlib.h> #include <uuid/uuid.h> #include <string.h> void retrieveUuid(char *uuidValue) { uuid_t newUUID; uuid_generate(n 阅读全文
posted @ 2021-11-20 17:22 FredGrit 阅读(23) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #include <uuid/uuid.h> #include <string.h> void retrieveUuid(char *uuidValue) { uuid_t newUUID; uuid_generate(n 阅读全文
posted @ 2021-11-20 11:30 FredGrit 阅读(52) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #include <uuid/uuid.h> void retrieveUuid(char *uuidValue); char ** array4(); void arrayPointer5(); int main() { 阅读全文
posted @ 2021-11-17 17:28 FredGrit 阅读(19) 评论(0) 推荐(0) 编辑
摘要: //Convert array to pointer int* arrayPointer7() { static int arr[100]; for(int i=0;i<100;i++) { arr[i]=i*i*i*i; } int *p; p=arr; } //retrieve array da 阅读全文
posted @ 2021-11-16 18:01 FredGrit 阅读(25) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> #include <uuid/uuid.h> void retrieveUuid(char *uuidValue); struct uuidStruct { int id; char 阅读全文
posted @ 2021-11-15 10:04 FredGrit 阅读(22) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> int main() { charPointerToCharArray(); return 0; } void charPointerToCharArray() { char *st 阅读全文
posted @ 2021-11-15 09:16 FredGrit 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <string.h> 4 #include <uuid/uuid.h> 5 6 void retrieveUuid(char *uuidValue); 7 8 struct bookStruc 阅读全文
posted @ 2021-11-14 21:58 FredGrit 阅读(27) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>#include <stdlib.h>#include <stdio.h>#include <vector>#include <stdexcept>#include <string>#include <sstream>#include <algorithm> v 阅读全文
posted @ 2021-10-24 21:13 FredGrit 阅读(90) 评论(0) 推荐(0) 编辑
摘要: #include <uuid/uuid.h> void printUuid() { uuid_t newUUId; uuid_generate(newUUId); char *msg = (char *) malloc(37*sizeof(char)); uuid_unparse(newUUId,m 阅读全文
posted @ 2021-10-16 15:59 FredGrit 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(68) 评论(0) 推荐(0) 编辑
上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 76 下一页