vault backup: 2024-10-07 14:58:40
This commit is contained in:
parent
f9f0da665f
commit
bd9f9bc956
@ -108,4 +108,9 @@ When asked to read a float, `scanf` searches for one of:
|
|||||||
`%e`, `%f`, and `%g` all follow the same rules for recognizing floating point numbers.
|
`%e`, `%f`, and `%g` all follow the same rules for recognizing floating point numbers.
|
||||||
|
|
||||||
If an ordinary character is included in the pattern matching string, it will be matched then discarded before proceeding to the next character.
|
If an ordinary character is included in the pattern matching string, it will be matched then discarded before proceeding to the next character.
|
||||||
|
## `rand`
|
||||||
|
```c
|
||||||
|
// `srand` creates a seed to use for rng
|
||||||
|
seed = srand(time(NULL));
|
||||||
|
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user