Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Edit variable-length array example | Jody Leonard | 2015-10-26 | -7/+2 |
| | | | | | | | | | The current example seems to be trying to set a size for a char buffer, use fgets to populate that buffer, and then use strtoul to convert the char content to an unsigned integer. However, this doesn't work as intended (in fact, it results in printing "sizeof array = 0"), and so adapt to a simpler fscanf example. Also remove some ambiguous language in the example output. | |||
* | Added example of printIntArray in C | Brendan Batliner | 2015-10-15 | -0/+6 |
| | ||||
* | Update c.html.markdown | Brendan Batliner | 2015-10-15 | -0/+28 |
| | | | Added additional info on dynamically allocated arrays in C. | |||
* | Cleaned up c file | Zachary Ferguson | 2015-10-15 | -4/+0 |
| | ||||
* | Merge remote-tracking branch 'refs/remotes/adambard/master' | Zachary Ferguson | 2015-10-15 | -3/+64 |
|\ | | | | | | | | | Conflicts: c.html.markdown | |||
| * | Merge pull request #1512 from awalGarg/patch-2 | Levi Bostian | 2015-10-15 | -0/+3 |
| |\ | | | | | | | [c/en] clarify common tripping point of newbies | |||
| | * | [c/en] clarify common tripping point of newbies | Awal Garg | 2015-10-14 | -0/+3 |
| | | | | | | | | | | | | | | | | | | int foo () { printf("bar\n"); int x; // this is not valid in C89+ } | |||
| * | | Merge pull request #1511 from awalGarg/patch-1 | Levi Bostian | 2015-10-15 | -0/+2 |
| |\ \ | | | | | | | | | [c/en] clarify that args' names are not required in proto | |||
| | * | | clarify that args' names are not required in proto | Awal Garg | 2015-10-14 | -0/+2 |
| | |/ | | | | | | | with obligatory conventional warning | |||
| * | | Merge pull request #1480 from eltonvs/master | ven | 2015-10-15 | -1/+3 |
| |\ \ | | |/ | |/| | Translation fixes and extra information | |||
| | * | Some extra information | Elton Viana | 2015-10-14 | -1/+3 |
| | | | ||||
| * | | Merge pull request #1399 from himanshu81494/master | Levi Bostian | 2015-10-12 | -2/+42 |
| |\ \ | | | | | | | | | example function added for call by reference | |||
| | * | | Update c.html.markdown | himanshu81494 | 2015-10-09 | -8/+14 |
| | | | | ||||
| | * | | Update c.html.markdown | himanshu81494 | 2015-10-08 | -1/+19 |
| | | | | ||||
| | * | | Update c.html.markdown | himanshu81494 | 2015-10-08 | -0/+1 |
| | | | | ||||
| | * | | Update c.html.markdown | himanshu81494 | 2015-10-08 | -1/+16 |
| | |/ | ||||
| * / | [C/en] Accessing command line arguments in main | Andy B | 2015-10-09 | -0/+10 |
| |/ | ||||
* | | Removed separate code section | Zachary Ferguson | 2015-10-14 | -4/+2 |
| | | | | | | | | Removed the separate code section for header files | |||
* | | Added Header title | Zachary Ferguson | 2015-10-13 | -1/+3 |
| | | | | | | | | | | + Added a header file title * Changed ```c to ```h | |||
* | | [c/en] Added a section for header files. | Zachary Ferguson | 2015-10-09 | -1/+49 |
| | | | | | | | | | | | | Added a section for header files. Included a discussion of what belongs in a header file and what does not. | |||
* | | Revert "[c/en] Added a section for header files." | Zachary Ferguson | 2015-10-07 | -49/+1 |
| | | | | | | | | This reverts commit e1ac6209a8d3f43e7a018d79454fb1095b3314c0. | |||
* | | [c/en] Added a section for header files. | Zachary Ferguson | 2015-10-07 | -1/+49 |
|/ | | | | | | Added a section for header files. Included a discussion of what belongs in a header file and what does not. | |||
* | replaced scanf with fscanf. | Pushkar Sharma | 2015-10-05 | -1/+1 |
| | ||||
* | Variable size array, user size input added. #1170 | Pushkar Sharma | 2015-10-04 | -1/+3 |
| | | | | Fixed Issue #1170 Variable size array, user size input added. | |||
* | revert additional resource suggestion in c.html.markdown | Joe Savage | 2015-08-30 | -1/+1 |
| | ||||
* | main() -> main(void) & fix spacing in c.html.markdown | Joe Savage | 2015-08-29 | -12/+12 |
| | ||||
* | fix resource capitalisation and add resource to c.html.markdown | Joe Savage | 2015-08-29 | -1/+1 |
| | ||||
* | add missing semicolons in c.html.markdown | Joe Savage | 2015-08-29 | -2/+2 |
| | ||||
* | c.html: fix #1021 (bitwise negation and shifting into the sign bit) | Max Filippov | 2015-03-30 | -2/+2 |
| | | | | | 0x0f is of type int, for 32-bit int the result is 0xfffffff0. 31'st bit is the sign bit of a 32-bit wide int. | |||
* | Change explanation of unsigned types | Devin McGinty | 2015-01-30 | -1/+1 |
| | ||||
* | Fixed one line being cut off and a comment about the export attribute | mordner | 2015-01-08 | -2/+3 |
| | | | | was referring to the wrong function and variable. | |||
* | Update c.html.markdown | Ruben | 2014-12-08 | -4/+5 |
| | ||||
* | fix #873 | Martin Thoresen | 2014-11-24 | -1/+1 |
| | ||||
* | [c/en] Typo: integral -> integer | Wes Turner | 2014-11-02 | -1/+1 |
| | ||||
* | Add fixes from @marcom's PR ↵ | Levi Bostian | 2014-10-17 | -2/+7 |
| | | | | https://github.com/adambard/learnxinyminutes-docs/pull/765 | |||
* | Correction to use the intended variables. | adventuretc | 2014-09-27 | -1/+1 |
| | ||||
* | Couple changes to C to close ↵ | Levi Bostian | 2014-09-05 | -3/+9 |
| | | | | https://github.com/adambard/learnxinyminutes-docs/pull/594 | |||
* | Clarified C Octal Character | Ben Eysenbach | 2014-09-03 | -1/+1 |
| | | | This fixes issue #658 | |||
* | Made learnc's switch statement clearer | iirelu | 2014-07-17 | -34/+33 |
| | | | | Also cleaned up trailing whitespace. | |||
* | Commented out two broken lines in learnc.c | iirelu | 2014-07-17 | -2/+2 |
| | ||||
* | Fix c tutorial | Nami-Doc | 2014-07-17 | -417/+417 |
| | | | | | Fixes #678 Still missing symbols, though | |||
* | Fix spelling and other small issues | Nick Ward | 2014-06-28 | -15/+15 |
| | ||||
* | Added missing semicolons and correct some words. | Nattaphoom Ch | 2014-05-28 | -7/+7 |
| | ||||
* | c: typo | Jakukyo Friel | 2014-02-14 | -1/+1 |
| | ||||
* | c: reorder paragraphs | Jakukyo Friel | 2014-02-14 | -5/+7 |
| | | | content about `static` are inserted into the wrong place. | |||
* | Added missing comma in printf | Joseph Adams | 2014-01-10 | -1/+1 |
| | ||||
* | Added verb ("is") where it was missing | Joseph Adams | 2014-01-10 | -1/+1 |
| | ||||
* | Fix conflict bash. | Levi Bostian | 2013-11-25 | -1/+3 |
|\ | ||||
| * | Merge pull request #316 from aesptux/master | Adam Bard | 2013-09-13 | -1/+2 |
| |\ | | | | | | | [c/en][go/es-es] Update C doc to fix a long line. / [go/es] translation | |||
| | * | Fix long line | Adrian Espinosa | 2013-09-04 | -1/+2 |
| | | |