发布了文章2018-12-02
build Yocto system for Raspberry Pi under win10-x86 Preparation Reference: Building Our First Poky Image for the Raspberry Pi Yocto Project official site platform: Windows 10. host machine: Windows 10, x86 target machine: Raspberry Pi3 B+, ARM Set...
发布了文章2018-11-20
capacity: the size of the storage space currently allocated for the vector, expressed in terms of elements.(分配的内存大小,用完时会自动relocate)
赞了文章2018-11-19
vector<int> v; //定义一个空 vector 对象 vector<int> v(10); //定义一个具有 10 个元素的 vector 对象(int 型元素默认初始化为 0) vector<int> v(3,5); //v = { 5, 5, 5 } vector<int> v1(v); //v1 = v vector<int> v = { 1, 2, 3...
赞了回答2018-10-12
这应该是远程仓库设置了默认分支的原因,你GitHub上看到的可能不是默认分支的代码当你clone代码到本地后,你看到的应该是默认分支的代码这两个分支的代码可能会有不同