4231d9e112
update text ( #31958 )
...
nested IF syntax and example
2019-03-12 12:40:32 -07:00
708f951f8e
Reformatted some example programs for consistency ( #35139 )
2019-03-11 08:56:22 -07:00
1ef8270608
Fixing spelling errors ( #27194 )
2019-02-23 21:35:00 -08:00
01b8030bbe
Improve C dynamic memory guide ( #23849 )
...
- Fix many errors and facts to be more accurate.
- Add more examples and cover all four commonly used functions.
- Rewrite parts to be more clear.
- Add some useful notes and warnings ... memory allocation is error prone!
2019-02-23 21:18:22 -08:00
853311c57a
Added 'difference between macros and functions'part ( #32372 )
...
I have explained the basic differences between macros and functions.
2019-02-20 01:05:00 -05:00
f2b3e2091a
Minor code corrections and text clarification ( #30123 )
2019-02-20 00:11:11 -05:00
2424f7892b
Small edits ( #29888 )
2019-02-19 23:24:41 -05:00
f70bf00b7e
added two helpful tips ( #26949 )
...
* added two helpful tips
* Grammar cleanup and formatting changes
2019-02-14 23:55:37 -05:00
0be5360a93
described return 0. ( #32117 )
...
described use of return 0 in function.
2019-02-13 20:46:36 -06:00
58e10048a6
Explained int main() ( #32051 )
...
Return value of main function explained
2019-02-13 20:26:42 -06:00
ed816b8266
Extra information ( #31621 )
2019-02-13 20:02:05 -06:00
7d30fdbe3a
Formating changes and clarified text. ( #30093 )
2019-02-13 17:15:01 -06:00
fc8261d625
Corrected a misspelled a word and added the return ( #30091 )
...
The "printf()" was misspelled as "print()", so i corrected that and also added the part which describes what does printf() return,, and also added a sample code to clear the concept.
2019-02-13 09:37:16 -06:00
13115bfb4e
Add block comment example and remove whitespace ( #28816 )
...
* Add block comment example and remove whitespace
* fix: capitalized string to match output
* fix: removed >
2019-02-11 21:48:16 +05:30
510654c040
Created documentation of calloc ( #27558 )
...
* Created documentation of calloc
this file used influence from other files in the c docs for consistency
* Rename calloc to calloc.md
* Rename guide/english/c/calloc.md to guide/english/c/calloc/index.md
2019-02-10 17:22:55 -08:00
d48da61e24
Add an interesting application of passing pointers to functions ( #23831 )
...
* Update index.md
* fix: added line break
2019-02-10 10:30:03 -08:00
2f57c6131c
added types of sockets and their comparison ( #30893 )
...
Added information about TCP and UDP protocols and their corresponding sockets ie. stream and datagram sockets.
Comparison is also added.
2019-01-30 14:22:50 -08:00
c6d4a54a7d
small grammar changes ( #27575 )
2019-01-30 14:05:31 -08:00
3ff24a2a84
Corrected typos, grammar ( #27201 )
...
Fixed some spelling, capitalization, and punctuation errors and did minor edits for clarity
2019-01-30 13:54:35 -08:00
3b5b0e22a7
Added a conditional note on application of break and continue ( #33298 )
2019-01-29 12:14:56 -07:00
c731321661
Update index.md ( #32520 )
...
Added few more points for Switch vs If-else
2019-01-29 11:19:49 -07:00
1edffae901
Grammatical Correction ( #32446 )
...
Made a small grammatical correction in line 64
2019-01-29 10:16:21 -07:00
aec38c04d7
Made the comment more clear ( #30524 )
...
Added clarity to the given comment
2019-01-29 09:10:58 -07:00
48313a48a6
Case can only be constant ( #30360 )
...
case can be defined by a constant not by variable
2019-01-29 09:10:02 -07:00
4e2ff2b0bd
Updated switch-case fall through ( #29744 )
...
Added an example
2019-01-29 09:07:56 -07:00
c036904e86
simplified ternary operator article ( #33077 )
2019-01-15 15:43:30 -06:00
f31d345e20
Fixed misspelling and capitalization in C Guide ( #29966 )
...
This commit fixes a misspelling in the reference to 'Some shiny things' and capitalizes the 'W in 'We can also write the program in the manner below:'
2019-01-15 15:16:52 -06:00
316733ce2a
small grammar changes ( #27561 )
...
for clarification
2019-01-15 15:08:04 -06:00
b8880d685c
corrected spelling ( #30261 )
2019-01-15 15:05:26 -06:00
db82a53408
Fixed a compilation error and some spelling mistakes ( #30984 )
2019-01-15 15:03:52 -06:00
844554aab9
typo ( #29647 )
2019-01-15 14:42:22 -06:00
5831dc657a
fixed spelling errors, added more information ( #28297 )
...
- logic changes
- explanations on different statements
2019-01-15 14:34:17 -06:00
74de20f3cf
Fixing spelling errors ( #27199 )
2019-01-15 14:21:02 -06:00
d0a534537c
Update index.md ( #34846 )
2019-01-15 14:19:09 -06:00
1add8e9067
Edit "sizeof()" into italic style in line 51 ( #26870 )
2019-01-10 21:16:36 -05:00
8f9d26c4ad
Deleted " ++number statement from Floyd's Triangle " ( #30858 )
...
added "number++" within the printf()
2019-01-08 12:11:10 -07:00
863fd135ea
Corrected Syntax index.md ( #29260 )
...
There was a syntax error - missing ';'
2019-01-08 10:53:27 -07:00
4745843717
Update index.md ( #28530 )
...
Updated Loop Description
2019-01-08 10:52:26 -07:00
aff166ba45
Updated index.md ( #28498 )
...
Corrected few mistakes.
2019-01-08 10:09:21 -07:00
7933d6fa3a
Added a section on optimistic indentation ( #24185 )
2019-01-08 09:45:19 -07:00
18b053378d
Added about statically vs dynamically allocated ( #31555 )
2019-01-05 10:16:47 -07:00
cf06cd9ad9
Update index.md ( #31403 )
2019-01-05 10:15:47 -07:00
a8801255c0
Information regarding pointers in array ( #30573 )
...
* Information regarding pointers in array
Added more Information in 2D arrays that we can declare the array without no_of_rows and usage of pointers in array element accessing
* fix: formatting/spelling
* fix: formatting, matched variable name to other examples
2019-01-05 09:44:52 -07:00
d0879e5f59
Added a 'Note' and another section ( #30547 )
...
The note tells about what kind of datatype can be used in array, and in another section the difference between initialization of character array and string is discussed.
2019-01-05 09:30:51 -07:00
d50c344772
Typo ( #29638 )
...
ints was there which will make confusion
2019-01-05 09:05:51 -07:00
527a1fd177
Added missing semicolon ( #29437 )
2019-01-05 08:59:54 -07:00
e411dc3dc5
Simplified index.md ( #29285 )
...
Simplified the logic of nested loops of pattern printing.
2019-01-05 08:59:13 -07:00
96c481057e
Typo fixes and improving explanation ( #25424 )
...
*Spelling Hello, World! consistently everywhere.
*Improved explanation and some typo fixes.
2019-01-03 19:11:02 -08:00
93c2b68026
Added Source Code, cleaned up... ( #26314 )
...
got rid of duplicate Linker def and put in ABC order
2019-01-03 09:36:22 -05:00
8a21fe58f1
Update index.md ( #26416 )
2019-01-02 11:14:33 -05:00