summaryrefslogtreecommitdiffhomepage
path: root/lua.html.markdown
diff options
context:
space:
mode:
authorawschult002 <73046001+awschult002@users.noreply.github.com>2021-08-24 15:57:49 -0400
committerGitHub <noreply@github.com>2021-08-24 21:57:49 +0200
commit99ddf8fec686a137586e7a4cdf068b7d3c438cfc (patch)
treef6d7c3714951e01b9a4dfcff9682a32ab2e81097 /lua.html.markdown
parent5e53b2aca948fc584b121064de6deea112615ee6 (diff)
[c/en] mostly word clarification and extra descriptions (#4222)
* Adds extra clarity to enum value assignment. The previous statement shows only 1 way to declare enums, and it happens that they specify a starting value. I clarify that a starting value is not necessary and that all enum value could contain user specified values. * Added clarity to `includes` section. specified that angle brackets are for system libraries and not just standard libs. I also added an example of relative paths in the local include statements. * Added more clarity for function prototyping and main return vals. I cleaned up some formatting; then added some clarity to how function prototyping works, as well as recommend techniques. * Fixed the mention of character sizes. they are not always 1 byte * Added clarity about floating point arithmetic. The previous comments on floating points made it feel like there was something broken with doing comparison and arithmetics with floating point types. I added clarity about how floats are stored in memory and why they seem to behave strangly when used in arithmetic expressions. * reworded boolean stuff for better clarity on _Bool type in C99 * Adds not about binary assignment * Added clarity for value roll over * Added section on multiple return values. C doesnt allow returning of multiple values, so i added a section on returning multiple values through pointers. * added section break for printing special characters * fix typo Co-authored-by: Andre Polykanine <ap@oire.me> * fix typos Co-authored-by: Andre Polykanine <ap@oire.me> * fix markdown syntax Co-authored-by: Andre Polykanine <ap@oire.me> * fix markdown syntax Co-authored-by: Andre Polykanine <ap@oire.me> * fix markdown syntax Co-authored-by: Andre Polykanine <ap@oire.me> * reword with better english Co-authored-by: Andre Polykanine <ap@oire.me> * reword with better english Co-authored-by: Andre Polykanine <ap@oire.me> Co-authored-by: Andre Polykanine <ap@oire.me>
Diffstat (limited to 'lua.html.markdown')
0 files changed, 0 insertions, 0 deletions