From bd9f9bc9564ded7f553a6f34d1bbee5a85a88746 Mon Sep 17 00:00:00 2001 From: zleyyij <75810274+zleyyij@users.noreply.github.com> Date: Mon, 7 Oct 2024 14:58:40 -0600 Subject: [PATCH] vault backup: 2024-10-07 14:58:40 --- education/software development/ECE1400/C.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/education/software development/ECE1400/C.md b/education/software development/ECE1400/C.md index 13b5156..48785ee 100644 --- a/education/software development/ECE1400/C.md +++ b/education/software development/ECE1400/C.md @@ -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. 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)); +``` \ No newline at end of file