Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

刘梓然-2018081311013 #35

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
04b2842
奔跑的字母
iiiIgnorance Mar 2, 2019
16b2235
isPrime
iiiIgnorance Mar 2, 2019
5f4fc7c
narcissus
iiiIgnorance Mar 2, 2019
91b89cb
Goldbach
iiiIgnorance Mar 11, 2019
c27123f
encode_decode
iiiIgnorance Mar 11, 2019
42d5728
Diophantus
iiiIgnorance Mar 11, 2019
1da2157
Update C语言学习笔记.md
iiiIgnorance Mar 14, 2019
78bae0d
Update C语言学习笔记.md
iiiIgnorance Mar 17, 2019
5821fd6
Update isPrime
iiiIgnorance Mar 20, 2019
11a7e3b
Update Diophantus
iiiIgnorance Mar 20, 2019
9bcb8c7
Create hanoi
iiiIgnorance Mar 20, 2019
3b434b4
Rename hanoi to hanoi.c
iiiIgnorance Mar 20, 2019
9e5fccd
Rename 奔跑的字母 to runningLetter.c
iiiIgnorance Mar 20, 2019
da7379a
Rename isPrime to isPrime.c
iiiIgnorance Mar 20, 2019
f52b61c
Rename Diophantus to Diophantus.c
iiiIgnorance Mar 20, 2019
74bc1e5
Rename narcissus to narcissus.c
iiiIgnorance Mar 20, 2019
da452a2
Rename Goldbach to Goldbach.c
iiiIgnorance Mar 20, 2019
73d11dc
Rename encode_decode to encode_decode.c
iiiIgnorance Mar 20, 2019
0311b68
Create maze.c
iiiIgnorance Mar 20, 2019
e6dfcfb
Update maze.c
iiiIgnorance Mar 20, 2019
22e9642
Update maze.c
iiiIgnorance Mar 20, 2019
74c3522
Create allPrimes
iiiIgnorance Apr 15, 2019
e6cfa5c
Create linkedList
iiiIgnorance Apr 15, 2019
0efd6f5
Create warehouse
iiiIgnorance Apr 17, 2019
65cabc5
Create pushBoxes
iiiIgnorance Apr 17, 2019
383d904
Create Goband
iiiIgnorance Jun 21, 2019
c6f7bc2
Delete Goband
iiiIgnorance Jun 21, 2019
50c7a79
Create main.cpp
iiiIgnorance Jun 21, 2019
34a87d3
Create Function.h
iiiIgnorance Jun 21, 2019
029e27a
Create Content.h
iiiIgnorance Jun 21, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions C语言学习笔记.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# C语言学习笔记

# 记录你学习过程中的所见所思!酸甜苦辣!

# 看什么看! 赶紧填坑啊!
*****************************************************************
scanf("%[^\n]", str)正则用法:
1 [^\n]表示一读入换行字符就结束读入。这个是scanf的正则用法。
我们都知道scanf不能接收空格符,一接受到空格就结束读入,所以不能像gets()等函数一样接受一行字符串,但是使用%[^\n]就可以一直读数,直到碰到’\n’才结束读入
2 那么如果scanf("%*[\n]")表示该输入项读入后不赋予任何变量,即scanf("%*[^\n]")表示跳过一行字符串。
https://blog.csdn.net/weixin_43469047/article/details/83753526
*****************************************************************
C语言中strand() rand() time()函数的简单介绍及获取随机数的方法:
https://blog.csdn.net/weixin_36820871/article/details/69831374
Loading