![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
工具
辽宁大学
毕业于朝阳科技大学
展开
-
go语言中的深层copy
package main import "fmt" func main(){ var a int=1 const b int=2 fmt.Println("hello world!") fmt.Println(a) fmt.Println(b) //var c int c:=1 fmt.Println(c) fmt.Printf("c type= %T\n",c) myArray:=[]int {1,2,3,4} //这里定义个一个动态数组 printArray(myArray.原创 2021-04-11 16:07:06 · 160 阅读 · 1 评论 -
go语言实现的动态数组
package main import "fmt" func main(){ var a int=1 const b int=2 fmt.Println("hello world!") fmt.Println(a) fmt.Println(b) //var c int c:=1 fmt.Println(c) myArray:=[]int {1,2,3,4} //这里定义个一个动态数组 printArray(myArray) fmt.Println("输出修改后的数组") for.原创 2021-04-11 15:15:39 · 777 阅读 · 0 评论 -
cmakelists写zmq包的引用
cmake_minimum_required(VERSION 3.17) project(DASFFA) set(INC_DIR /usr/local/include) #这里设置INC_DIR 的地址为/usr/local/include include_directories(${INC_DIR}) #这个地方放头文件的地方,从INC_DIR 中找。 #set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -wl /usr/local/lib").原创 2021-04-01 08:43:16 · 1020 阅读 · 0 评论 -
fabcar 生成数据
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab原创 2021-03-17 22:01:17 · 140 阅读 · 0 评论