-
Notifications
You must be signed in to change notification settings - Fork 21
Conversation
3. ubuntu是真滴慢啊,nmd,wsm? | ||
4. 举步维艰,干啥都查一波。 | ||
5. vpn有点贵……除了吃饭喝水,还没有很规律地花过钱。有点不适应。所以还没科学上网,要的时候再搞(其实是搞了两个VPN发现都用不了了很气馁就放弃了 | ||
6. git明明过了一遍了,但是再看廖雪峰的教程还是觉得第一次看。难不成是他重写了一遍?(不 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
git的话习惯就好 平时写代码都用上
无非是:
- 本地git init
- GitHub开一个仓库,按照初始仓库上的git remote add 初始化
- git status看哪些项目被修改了
- git add * 允许修改
- git commit -m "..." 提交
- git push origin master 同步
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
虽说一周前看到了,但是直到今天才搞懂了git push origin master的操作。
感觉以后进行git的操作也不会太纠结了。
5. vpn有点贵……除了吃饭喝水,还没有很规律地花过钱。有点不适应。所以还没科学上网,要的时候再搞(其实是搞了两个VPN发现都用不了了很气馁就放弃了 | ||
6. git明明过了一遍了,但是再看廖雪峰的教程还是觉得第一次看。难不成是他重写了一遍?(不 | ||
7. github界面很好看 | ||
8. 我英语差,大学一直不变过的自我认知,现在才晓得,原来是**差到不行**了。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
多看英文文档和教程。习惯就好。
1. 总之装这个ubuntu整个过程我担惊受怕。生怕原来的windows的区域也被波及。 | ||
2. 这下有了不看qq的理由了,因为电脑现在没装qq,很好。 | ||
3. ubuntu是真滴慢啊,nmd,wsm? | ||
4. 举步维艰,干啥都查一波。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
第一次查的时候主要是留个感觉 第二次干这种事情就会有底了 不急
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
的确如此,这次是用win10干的,因为一周前电脑被自己爆破了,所以重装了很多软件,包括git,这次的确比第一次流畅了许多(滑稽
@@ -0,0 +1,330 @@ | |||
# This is the CMakeCache file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
查一下.gitignore是干嘛的
然后再.gitignore中加上*build*
和.gitignore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
之前一直把gitignore看成gitcore……我觉得我的眼神是有点问题了。当我理解到这个是ignore的时候,忽然想起之前看书看到的东西,比如这个文件就不需要被上传上来,就应该是可以放到.gitignore来避免w
for (int i : a) | ||
std::cout << i << " "; | ||
std::cout << std::endl; | ||
return 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return 0可以忽略
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可
|
||
int main() | ||
{ | ||
int a[7] = {3,1,7,5,9,2,8}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
std::array了解一下
qsort(a, a+6); | ||
for (int i : a) | ||
std::cout << i << " "; | ||
std::cout << std::endl; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
为了效率,永远用'\n'代替std::endl
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
嗯嗯,我真的改了我真的改了我真的改了,只是在写这次提交的代码那天又忘了……
卑微…… |
啊啊啊……原来直接贴网址要快很多啊
终于搞起了,之前一直往原本的仓库里面推东西。
后来才发现应该是往自己fork后的仓库里面推,我佛了。