Character generator far less code #15
hayesgr
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Thanks for your suggestion, I'm going to verify better later, right now I am about to change some things in the project. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I seen your project on a youtube code review.
I think you over complicated the generator.
I posted two versions the you can find both in the same file. Just comment one out.
The smaller of the two is only 20 lines of code if you remove the comments. Out of that 5 are arrays of data.
https://github.com/hayesgr/RandomString/blob/main/generate.c
Hope you find it helpful or educational.
Beta Was this translation helpful? Give feedback.
All reactions