Commit Graph

157 Commits

Author SHA1 Message Date
Zachary Ferguson
79ced08e09 Added Header title
+ Added a header file title
* Changed ```c to ```h
2015-10-13 11:05:20 -04:00
Levi Bostian
841f4c3d46 Merge pull request #1399 from himanshu81494/master
example function added for call by reference
2015-10-12 23:14:27 -05:00
Zachary Ferguson
e418849d76 [c/en] Added a section for header files.
Added a section for header files.
Included a discussion of what belongs in a header file and what does
not.
2015-10-09 11:52:08 -04:00
himanshu81494
c899b6605e Update c.html.markdown 2015-10-09 20:59:05 +05:30
Andy B
e8e8b9c76f [C/en] Accessing command line arguments in main 2015-10-09 15:48:21 +01:00
himanshu81494
e8248af134 Update c.html.markdown 2015-10-08 15:31:40 +05:30
himanshu81494
626ee03fc3 Update c.html.markdown 2015-10-08 14:45:16 +05:30
himanshu81494
9796759379 Update c.html.markdown 2015-10-08 14:44:10 +05:30
Zachary Ferguson
3c02fdb8e4 Revert "[c/en] Added a section for header files."
This reverts commit e1ac6209a8.
2015-10-07 23:49:46 -04:00
Zachary Ferguson
e1ac6209a8 [c/en] Added a section for header files.
Added a section for header files.
Included a discussion of what belongs in a header file and what does
not.
2015-10-07 23:45:01 -04:00
Pushkar Sharma
2e987df422 replaced scanf with fscanf. 2015-10-05 00:52:47 +05:30
Pushkar Sharma
c7e552c448 Variable size array, user size input added. #1170
Fixed Issue #1170
Variable size array, user size input added.
2015-10-04 10:34:31 +05:30
Joe Savage
e0d0e9189b revert additional resource suggestion in c.html.markdown 2015-08-30 20:51:58 +01:00
Joe Savage
7cb94b3b85 main() -> main(void) & fix spacing in c.html.markdown 2015-08-29 11:58:03 +01:00
Joe Savage
85d80b9e5d fix resource capitalisation and add resource to c.html.markdown 2015-08-29 11:47:09 +01:00
Joe Savage
3d0687027a add missing semicolons in c.html.markdown 2015-08-29 11:44:41 +01:00
Max Filippov
e267eed62c c.html: fix #1021 (bitwise negation and shifting into the sign bit)
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.
2015-03-30 10:11:05 +03:00
Devin McGinty
21fa7d7e39 Change explanation of unsigned types 2015-01-30 16:42:35 -05:00
mordner
d1171443dd Fixed one line being cut off and a comment about the export attribute
was referring to the wrong function and variable.
2015-01-08 23:24:19 +01:00
Ruben
8291fb2d7d Update c.html.markdown 2014-12-08 13:27:06 +01:00
Martin Thoresen
d179669f39 fix #873 2014-11-24 17:37:55 +01:00
Wes Turner
56d86a244e [c/en] Typo: integral -> integer 2014-11-02 04:52:31 -06:00
Levi Bostian
0ec14c6914 Add fixes from @marcom's PR https://github.com/adambard/learnxinyminutes-docs/pull/765 2014-10-17 20:57:18 -05:00
adventuretc
a5b7319eac Correction to use the intended variables. 2014-09-27 21:38:30 +02:00
Levi Bostian
cd7ed4f9f9 Couple changes to C to close https://github.com/adambard/learnxinyminutes-docs/pull/594 2014-09-05 20:47:18 -05:00
Ben Eysenbach
c0c77e850c Clarified C Octal Character
This fixes issue #658
2014-09-03 22:46:50 -04:00
iirelu
a9f51d5bbf Made learnc's switch statement clearer
Also cleaned up trailing whitespace.
2014-07-17 20:37:52 +01:00
iirelu
50fe4d9859 Commented out two broken lines in learnc.c 2014-07-17 17:08:30 +01:00
Nami-Doc
15353d1938 Fix c tutorial
Fixes #678

Still missing symbols, though
2014-07-17 10:46:24 +02:00
Nick Ward
104b9add58 Fix spelling and other small issues 2014-06-28 12:58:50 +10:00
Nattaphoom Ch
e8910da685 Added missing semicolons and correct some words. 2014-05-28 01:10:46 +07:00
Jakukyo Friel
2a9fb70f6d c: typo 2014-02-14 20:34:23 +08:00
Jakukyo Friel
4c25ac36c6 c: reorder paragraphs
content about `static` are inserted into the wrong place.
2014-02-14 17:22:38 +08:00
Joseph Adams
c9a32b08e7 Added missing comma in printf 2014-01-10 18:28:34 +01:00
Joseph Adams
c8b12bd824 Added verb ("is") where it was missing 2014-01-10 18:14:35 +01:00
Levi Bostian
af6701904b Fix conflict bash. 2013-11-25 09:42:37 -06:00
Levi Bostian
df3cc00f52 Remove bad examples, reword places. 2013-11-25 09:21:40 -06:00
Levi Bostian
67a5236629 Add multi-dimensional array description. 2013-11-24 23:26:11 -06:00
Levi Bostian
5c7f6d70b9 Remove bad description of function prototypes. 2013-11-24 16:58:21 -06:00
Levi Bostian
bb4f644a19 Fix #define as it does not use = sign. 2013-11-24 15:01:24 -06:00
Levi Bostian
af9cc6e9b9 Edit static description wording. Add note about private functions. 2013-11-24 14:25:30 -06:00
Levi Bostian
e63232d2de Add static description to C. 2013-11-24 14:17:32 -06:00
Levi Bostian
38de481179 Add variety to function prototypes. 2013-11-23 22:40:52 -06:00
Levi Bostian
981cc871a4 Edit getchar() notes. 2013-09-20 22:37:40 -05:00
Levi Bostian
67cd987efa Declare variable before empty for loop. 2013-09-20 22:33:19 -05:00
Levi Bostian
868be425a6 Add to notes on increment and decrement operators. 2013-09-20 22:31:04 -05:00
Levi Bostian
ec7ee88698 Add to ? : example in C. 2013-09-20 22:19:07 -05:00
Levi Bostian
35909645f2 Edit note on function prototypes. 2013-09-20 22:13:10 -05:00
Levi Bostian
7c559d57a8 Move special characters to end of file 2013-09-20 22:05:08 -05:00
Levi Bostian
06265eba7a Merge 2013-09-20 22:00:14 -05:00
Levi Bostian
2ef4119926 Fix typo for 'funtion prototype' 2013-09-20 21:53:42 -05:00
Levi Bostian
f28d33fb18 Edit wording on in c changes. 2013-09-19 17:10:53 -05:00
Adam Bard
b3b4afedae Merge pull request #316 from aesptux/master
[c/en][go/es-es] Update C doc to fix a long line. / [go/es] translation
2013-09-13 10:25:58 -07:00
Adrian Espinosa
61dcca3340 Fix long line 2013-09-04 23:32:18 +02:00
Nathan Hoad
65d2460cd7 Fixed typo in c.html.markdown that I introduced 2013-09-05 07:13:28 +10:00
Nathan Hoad
f6c800dd2a Fixed typo in c.html.markdown 2013-09-05 01:29:59 +10:00
Levi Bostian
c4f541dc92 Add order of evaluation table to C. 2013-09-01 13:17:26 -05:00
Levi Bostian
0ab144ff97 Add conditinal expression (?:) to C. 2013-09-01 11:51:25 -05:00
Levi Bostian
2fab4dc971 Add specific examples of increment and decrement operators to C. 2013-09-01 11:10:04 -05:00
Levi Bostian
977d226d26 Reworded incrementing operators in C. 2013-09-01 10:59:30 -05:00
Levi Bostian
642e7c551e Add note to while loop in C. 2013-09-01 10:44:55 -05:00
Levi Bostian
e9c92321f4 Add <ctype.h> include statement to popular C standar libraries. 2013-08-31 21:18:59 -05:00
Levi Bostian
ca32d7a5f2 Add clarity to characters in character set. 2013-08-31 21:16:32 -05:00
Levi Bostian
2e8e2b5f35 Add enum to C. 2013-08-31 20:51:11 -05:00
Levi Bostian
411d9a9813 Add more escape sequences to C. 2013-08-31 19:29:25 -05:00
Levi Bostian
8caf3768fb Add extern notes to C. 2013-08-31 19:24:15 -05:00
Levi Bostian
d632203255 Add more notes to function prototype in C. 2013-08-31 18:54:07 -05:00
Levi Bostian
394ca958b3 Add more notes to null character in C 2013-08-31 18:42:05 -05:00
Levi Bostian
41f65bb341 Clarified function call by value description. 2013-08-31 17:06:16 -05:00
Levi Bostian
79fdd62c6b Add function prototype to C. 2013-08-31 16:51:35 -05:00
Levi Bostian
dfd8afb496 Add ASCII chars to Types of C file. 2013-08-31 16:36:16 -05:00
Levi Bostian
5c711eb30f Add more shorthand notes, array notes to C 2013-08-31 16:33:55 -05:00
Levi Bostian
b0c5ca0a1c Add note about loops C 2013-08-31 15:57:54 -05:00
Levi Bostian
f1b1fd8e2e Add clarity to EOF. Add %ld for longs in C 2013-08-31 13:06:37 -05:00
Levi Bostian
dba7ec8b96 Add getchar(), putchar(), EOF to C 2013-08-31 12:50:58 -05:00
Levi Bostian
e03cda583d Add more to string formatting. 2013-08-31 11:44:45 -05:00
Levi Bostian
deaaf3412d Add print formatting characters 2013-08-31 10:51:48 -05:00
Levi Bostian
58cd4b274f add special characters to c 2013-08-31 09:50:13 -05:00
mhauserr
c4c8c02df9 Added explanation of size_t 2013-08-21 00:02:33 +01:00
mhauserr
07b5c4934c Update c.html.markdown
Added explanation of size_t
2013-08-20 23:50:15 +01:00
Adam
8aa0ab6068 Edits 2013-08-16 09:44:22 -07:00
Adam Bard
5486b435f6 Merge pull request #227 from dacechavez/master
Fixed 2 typos around function pointers
2013-08-16 08:50:20 -07:00
Árpád Goretity 
273c08d1fe fixed header, added switch statement 2013-08-15 13:08:52 +02:00
Árpád Goretity 
f2c41a8a99 whoops, fixed typos and added missing info 2013-08-15 12:36:29 +02:00
Árpád Goretity 
24fd870589 Update c.html.markdown 2013-08-15 12:30:22 +02:00
dacechavez
7cb78e94d2 Fixed 2 typos around function pointers 2013-08-15 12:12:19 +02:00
Sergey Avseyev
162b5bb60d Fix typo about how pointers are declared
Of course it is completely valid that star can go right after type
name, but it might be not that obvious that during declaration the
star is associated to the variable, not with the type name.
2013-08-14 23:18:10 +03:00
Trent Ogren
e037df9c91 C: Signed/unsigned clarification 2013-08-05 13:06:21 -05:00
Adam
4ecd73fc9c An assortment 2013-08-01 11:24:23 -07:00
Adam Bard
b59bbc949d Merge pull request #102 from sergiokas/master
Adding small function pointers example in C
2013-07-04 09:41:45 -07:00
sergiokas
fff3f61e2c #102, moving function pointers section to the end of the doc 2013-07-04 11:42:36 -03:00
Adam
9ad61b5586 Authors -> Contributors 2013-07-03 22:59:13 -07:00
sergiokas
0376e0807a Update c.html.markdown 2013-07-04 00:00:49 -03:00
sergiokas
3308c9c015 Adding small function pointers example 2013-07-03 23:57:37 -03:00
Adam
83aeecb68a Added filename parameter 2013-06-29 20:19:14 -07:00
Johannes Mittendorfer
5d15e5c048 Fixed typo
"Use return to return a value" instead "Use return a return a value"
2013-06-29 12:22:01 +02:00
Adam
879d31e2c6 Updated pass-by-reference bit in c tutorial. Fixes #31 2013-06-28 21:08:58 -07:00
Ricky Stewart
2ad3be3860 merging in new pointer section from origin 2013-06-28 23:43:00 -04:00
Adam Bard
d1e222727a Merge pull request #33 from esneider/patch-1
Fix precision typo with C integer types
2013-06-28 19:55:34 -07:00
Ricky Stewart
aac6cb65c1 style changes, made many of the comments more precise, corrected incorrect facts about type sizes 2013-06-28 22:49:08 -04:00