summaryrefslogtreecommitdiffhomepage
path: root/c.html.markdown
Commit message (Collapse)AuthorAgeLines
* Edit variable-length array exampleJody Leonard2015-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 CBrendan Batliner2015-10-15-0/+6
|
* Update c.html.markdownBrendan Batliner2015-10-15-0/+28
| | | Added additional info on dynamically allocated arrays in C.
* Cleaned up c fileZachary Ferguson2015-10-15-4/+0
|
* Merge remote-tracking branch 'refs/remotes/adambard/master'Zachary Ferguson2015-10-15-3/+64
|\ | | | | | | | | Conflicts: c.html.markdown
| * Merge pull request #1512 from awalGarg/patch-2Levi Bostian2015-10-15-0/+3
| |\ | | | | | | [c/en] clarify common tripping point of newbies
| | * [c/en] clarify common tripping point of newbiesAwal Garg2015-10-14-0/+3
| | | | | | | | | | | | | | | | | | int foo () { printf("bar\n"); int x; // this is not valid in C89+ }
| * | Merge pull request #1511 from awalGarg/patch-1Levi Bostian2015-10-15-0/+2
| |\ \ | | | | | | | | [c/en] clarify that args' names are not required in proto
| | * | clarify that args' names are not required in protoAwal Garg2015-10-14-0/+2
| | |/ | | | | | | with obligatory conventional warning
| * | Merge pull request #1480 from eltonvs/masterven2015-10-15-1/+3
| |\ \ | | |/ | |/| Translation fixes and extra information
| | * Some extra informationElton Viana2015-10-14-1/+3
| | |
| * | Merge pull request #1399 from himanshu81494/masterLevi Bostian2015-10-12-2/+42
| |\ \ | | | | | | | | example function added for call by reference
| | * | Update c.html.markdownhimanshu814942015-10-09-8/+14
| | | |
| | * | Update c.html.markdownhimanshu814942015-10-08-1/+19
| | | |
| | * | Update c.html.markdownhimanshu814942015-10-08-0/+1
| | | |
| | * | Update c.html.markdownhimanshu814942015-10-08-1/+16
| | |/
| * / [C/en] Accessing command line arguments in mainAndy B2015-10-09-0/+10
| |/
* | Removed separate code sectionZachary Ferguson2015-10-14-4/+2
| | | | | | | | Removed the separate code section for header files
* | Added Header titleZachary Ferguson2015-10-13-1/+3
| | | | | | | | | | + Added a header file title * Changed ```c to ```h
* | [c/en] Added a section for header files.Zachary Ferguson2015-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 Ferguson2015-10-07-49/+1
| | | | | | | | This reverts commit e1ac6209a8d3f43e7a018d79454fb1095b3314c0.
* | [c/en] Added a section for header files.Zachary Ferguson2015-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 Sharma2015-10-05-1/+1
|
* Variable size array, user size input added. #1170Pushkar Sharma2015-10-04-1/+3
| | | | Fixed Issue #1170 Variable size array, user size input added.
* revert additional resource suggestion in c.html.markdownJoe Savage2015-08-30-1/+1
|
* main() -> main(void) & fix spacing in c.html.markdownJoe Savage2015-08-29-12/+12
|
* fix resource capitalisation and add resource to c.html.markdownJoe Savage2015-08-29-1/+1
|
* add missing semicolons in c.html.markdownJoe Savage2015-08-29-2/+2
|
* c.html: fix #1021 (bitwise negation and shifting into the sign bit)Max Filippov2015-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 typesDevin McGinty2015-01-30-1/+1
|
* Fixed one line being cut off and a comment about the export attributemordner2015-01-08-2/+3
| | | | was referring to the wrong function and variable.
* Update c.html.markdownRuben2014-12-08-4/+5
|
* fix #873Martin Thoresen2014-11-24-1/+1
|
* [c/en] Typo: integral -> integerWes Turner2014-11-02-1/+1
|
* Add fixes from @marcom's PR ↵Levi Bostian2014-10-17-2/+7
| | | | https://github.com/adambard/learnxinyminutes-docs/pull/765
* Correction to use the intended variables.adventuretc2014-09-27-1/+1
|
* Couple changes to C to close ↵Levi Bostian2014-09-05-3/+9
| | | | https://github.com/adambard/learnxinyminutes-docs/pull/594
* Clarified C Octal CharacterBen Eysenbach2014-09-03-1/+1
| | | This fixes issue #658
* Made learnc's switch statement cleareriirelu2014-07-17-34/+33
| | | | Also cleaned up trailing whitespace.
* Commented out two broken lines in learnc.ciirelu2014-07-17-2/+2
|
* Fix c tutorialNami-Doc2014-07-17-417/+417
| | | | | Fixes #678 Still missing symbols, though
* Fix spelling and other small issuesNick Ward2014-06-28-15/+15
|
* Added missing semicolons and correct some words.Nattaphoom Ch2014-05-28-7/+7
|
* c: typoJakukyo Friel2014-02-14-1/+1
|
* c: reorder paragraphsJakukyo Friel2014-02-14-5/+7
| | | content about `static` are inserted into the wrong place.
* Added missing comma in printfJoseph Adams2014-01-10-1/+1
|
* Added verb ("is") where it was missingJoseph Adams2014-01-10-1/+1
|
* Fix conflict bash.Levi Bostian2013-11-25-1/+3
|\
| * Merge pull request #316 from aesptux/masterAdam Bard2013-09-13-1/+2
| |\ | | | | | | [c/en][go/es-es] Update C doc to fix a long line. / [go/es] translation
| | * Fix long lineAdrian Espinosa2013-09-04-1/+2
| | |