Timeline for C program for storing the time of the sunset and sunrise
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 18, 2023 at 14:00 | comment | added | Max | @pacmaninbw Thank you, I'm going to look into that. I've updated the code and provided a link to a github repo. Unfortunately I haven't had the time to make all the changes required. Hope my updated code is now better though... Thank you for your help! | |
Jan 17, 2023 at 15:11 | comment | added | pacmaninbw♦ | @Max The best references are probably online, I use this en.cppreference.com/w, while this site is primarily for C++ it has very good references for C as well. C A Reference Manual by Samuel P. Harbison III and Guy L. Steele Jr. is a recommended book by some classes at UC Irvine. | |
Jan 17, 2023 at 14:28 | comment | added | chux |
"The code is generally portable." --> except with 16-bit int where various time functions overflow.
|
|
Jan 17, 2023 at 13:40 | history | edited | Reinderien | CC BY-SA 4.0 |
added 2 characters in body
|
Jan 17, 2023 at 9:52 | history | edited | Toby Speight | CC BY-SA 4.0 |
Spelling and grammar
|
Jan 17, 2023 at 8:06 | comment | added | Max | Thank you, this has really helped me! I've reworked the variable declaration as well as some names. Changed my malloc() and sizeof() as well as the for loops. All functions are now static. I will start building my own little collection of C helper functions and organize them in individual files, after I've got some things up and running I will gradually replace the functions within the code so I can maintain the components better and reuse them as needed. Anytime I look for help on C I always find a ton of C++ stuff... can you recommend books or sites which are purely about C? | |
Jan 16, 2023 at 18:17 | history | answered | pacmaninbw♦ | CC BY-SA 4.0 |