- 博客(4)
- 收藏
- 关注
原创 git bash超简单八步用法
1. cd + 文件夹进入本地文件夹2. git init3. git remote add 【你自己起的名字】 git@那个github的地址4. $git pull 【你自己起的名字】 master把远程仓库pull下来5. 修改文件6. git add . 或 git add 某个文件一个 . 代表所有文件或者某个文件,如...
2019-04-16 22:17:55
554
原创 C++ 插入排序法 stl实现
// insertsort.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。//#include "pch.h"#include <iostream>#include <vector>using namespace std;void insertSort(vector<int> &b, int n) { f...
2019-04-08 20:55:31
786
1
原创 C++ 连接两字符串
#include<iostream>#include<cstring>int main() {std::string a = "hello";std::string b = "dd";std::cout<<a+b; //output: hellodd}
2019-04-05 15:54:01
1334
原创 两则简单的笔试题 引用传递&值传递&指针传递 + 其他
#include <iostream>using namespace std;int a(int m) {return ++m;}int b(int &m) {return ++m;}int c(int *m) {return ++(*m);}int main(){ int p = 0,aa = 10; cout << "Hello...
2019-04-02 22:33:38
250
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅