summaryrefslogtreecommitdiffhomepage
path: root/c.html.markdown
Commit message (Collapse)AuthorAgeLines
* [c/en] Fix link for Learn C the Hard Way bookHeitor Pascoal de Bittencourt2019-10-08-1/+2
|
* Make description of static keyword stronger, closes #2848Divay Prakash2018-10-09-0/+8
|
* Fix printf, closes #2730Divay Prakash2018-09-13-2/+2
|
* Add C99 comments, fix some typos and add clarifications in 'c.html.markdown'Dragos B. Chirila2018-09-04-6/+23
|
* Update c.html.markdownYoav2018-03-25-1/+1
|
* Update c.html.markdown0x6a6f73682018-01-04-3/+4
| | | How to get information on compiler flags.
* Update c.html.markdown0x6a6f73682018-01-04-1/+2
| | | Fixed and improved compiler flag default recommendations.
* [c/en] Correct off-by-one errorJakob Rieck2017-09-25-1/+1
|
* Update c.html.markdownAdam Bard2017-09-12-1/+1
| | | Fix presence of bool (Fixes #2854)
* Update c.html.markdownAdam Bard2017-09-12-2/+8
| | | Note on macro hygiene. Fixes #2853
* Update c.html.markdownAdam Bard2017-09-12-7/+25
| | | Fixes #2846, #2849, #2851, #2852 (Thanks to @noncombatant)
* Fix a bunch of typosHairyFotr2017-08-23-2/+2
|
* [c/en-en] Make reference link in footer/summary link to Stack Overflow ↵Aaroh Mankad2017-05-26-1/+1
| | | | | | | | article (#2739) * Make reference link in footer/summary link to Stack Overflow article * remove name from list of contributors
* Update c.html.markdown (#2734)Tyler Chong2017-05-23-1/+1
|
* fix further reading url (#2655)Louis-Philippe Asselin2017-02-12-1/+1
| | | Original link displays "This file has moved to process/coding-style.rst"
* C/en typo, formatting fixes (#2537)George Gognadze2016-10-31-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Space should be removed. Before: // Access struct members with . After: // Access struct members with. C should be capitalized. Before: // there is no Boolean type in c. We use ints instead. After: // there is no Boolean type in C. We use ints instead. Before: Header files are an important part of c as they allow for the connection of c After: Header files are an important part of C as they allow for the connection of C Before: Header files are syntactically similar to c source files but reside in ".h" After: Header files are syntactically similar to C source files but reside in ".h" Before: files. They can be included in your c source file by using the precompiler After: files. They can be included in your C source file by using the precompiler Before: as the c file. After: as the C file. Before: /* should instead be put in a c file. */ After: /* should instead be put in a C file. */ Before: /* Beyond the above elements, other definitions should be left to a c source */ After: /* Beyond the above elements, other definitions should be left to a C source */ Before: /* a header file but instead put into separate headers or a c file. */ After: /* a header file but instead put into separate headers or a C file. */
* Update c.html.markdown (#2385)Subhrajyoti Sen2016-09-27-0/+1
|
* c: init array with string literals not introduced. (#2369)Jakukyo Friel2016-09-13-4/+2
| | | | | | | | | | | | | | | | | | * c: fix using pointer before introduced. * c: init array with string literals not introduced. To avoid using the concept pointer before it has been introduced, previously it is changed to array. But as @geoffliu pointed out, array initialization using string literals is not introduced either. So this commit uses neither pointer nor array. Discussing `i++` and `++i` does not need to involve pointer or array. * c: use `var = value` instead of `->`. `->` is typically used for functions. Thanks, @vendethiel.
* Remove undefined behavior (#2332)Ryan2016-08-17-1/+2
|
* Fix c - the first character of ILoveC is I not i (#2253)Michal Jurosz2016-05-12-2/+2
|
* issue 2205: Change variable 'size' to 'array_size'Ryan Rauschenberg2016-03-22-3/+3
|
* fixedDivay Prakash2016-03-12-1/+0
|
* fixed whitespacesDivay Prakash2016-03-03-9/+3
| | | | removed whitespaces all over document
* [c/en] typosJacob Ward2016-02-18-3/+3
|
* typoGeorge Gognadze2015-12-24-4/+4
| | | | | | | | | | | some type mistakes. It is: syntaxtically It should be: syntactically It is: iLoveC Better: ILoveC It is: passed to ≈the function It should be: passed to the function It is: error It should be: Error
* Merge pull request #1872 from luehm/c_casesGeoff Liu2015-12-18-9/+15
|\ | | | | [C/en] Added tidbit about fall-though in switch statements.
| * [C/en] Added tidbit about fall-though in switch statements.Alex Luehm2015-10-28-9/+15
| | | | | | | | Another pitfall, as not all languages have fall-through in switches.
* | 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
|