Commit Graph

169 Commits

Author SHA1 Message Date
Ilkay Tevfik Devran
251092a359 Example to Basic Socket Programming (#22179)
A link has been added for example to socket programming.
2018-11-19 16:32:41 -05:00
Krinjih
68e7028aab Added examples for logic operators (#22259)
* Added examples for logic operators

Added tables for examples for "and", "or" and "xor"

* fixed table formatting
2018-11-18 19:51:17 -07:00
Farai Mugaviri
e73ffaf2fe Add void pointer to index.md (#22248)
* Update index.md

I added void pointers, which can be very useful in C programming, especially when dealing with unknown data types but had not been included.

* fixed formatting issues, removed attributions, moved placement to more appropriate location

* adjusted section header size
2018-11-18 19:23:19 -07:00
Muralidharan Sekar
7ad3dd4bd9 Add the text "Conditional operators" to the article (#22235)
* Add the text "Conditional operators" to the article

* fixed numbered list formatting
2018-11-18 19:19:25 -07:00
Krinjih
e5a531682f Added a warning to the article (#22219)
* Added a warning to the article

Added a warning with an example, which can occur on older compilers.

* fix(guide): c for loop iterator misnomer

declaration not initialisation
2018-11-18 18:56:43 -07:00
Muralidharan Sekar
522ac6c139 Add the text "Nested Switch Case" to the article (#22165)
* Add the text "Nested Switch Case" to the article

* fix(guide): c nested switch typos
2018-11-18 18:30:20 -07:00
Shantanu Sharma
754384ebf9 Incomplete info while explaining while loop (#22265) 2018-11-18 07:14:27 -06:00
Saravanan Elumalai
427b5178f3 Added fclose to avoid core dump (#21957) 2018-11-17 15:44:01 -07:00
Saravanan Elumalai
3066b88340 Fixed code snippet bugs & added examples (#21925) 2018-11-17 12:33:20 -07:00
Chase
76f416935b Added modes for file handling in index.md (#21902)
Added different modes that can be used and their description under "The Real Deal" Section.
2018-11-17 11:14:58 -07:00
Bearz314
cf2d18322f Improved formatting and explanation on function prototype (#21832)
Minor corrections on formatting to increase legibility. Also improved the reasoning for using function prototypes.
2018-11-17 10:49:19 -07:00
kzellers
8bfe0c8ce6 added comments to example (#23656) 2018-11-17 16:17:48 +05:30
msabitabrata
603df3975e Proper indentation and readability (#23082)
Included one of the C code snippets inside ```c``` to improve readability
2018-11-17 00:15:56 -05:00
carlos fernandez
30b8d41421 fix 3 typos in #Explanation (#21809)
print() for printf()
Hello World! for Hello, World without the ! 
ans spaces between text           on the screen
2018-11-16 21:11:56 -07:00
Hemanath
29757050ef Fix typo in the explanation print() to printf() (#27881)
* Fix typo in the explanation print() to printf()

* Added basic syntax for declaring an array with all its elements as 0

* fix: removed &
2018-11-17 09:02:46 +05:30
vasubansal1033
7721e34a28 Add the text "* Arrays can store same data types only. A integer arra… (#21933)
* Add the text "* Arrays can store same data types only. A integer array will not be able to store chars in it." in review.

* Fixed grammar
2018-11-16 22:06:11 -05:00
Caleb Spradlin
5caa346be3 Fixed grammar errors and typos on lines 15, 18, 40 (#23238)
added commas, took away commas, and added a hyphen
2018-11-15 02:24:54 -05:00
Blaze2305
e7cc0c6d1a added ternary operation to conditional statements (#22773) 2018-11-15 11:17:04 +05:30
raghavbhartia
ee8feba4b5 Elaborating struct comparison (#22429)
* Elaborating struct comparison

* fix: corrected path name issues
2018-11-14 14:52:10 -08:00
TrollzorFTW
b8569bcc1d Typo on strcpy (#24848) 2018-11-14 21:18:46 +05:30
blankaex
e2e460c19e Fixed formatting and typos (#24209) 2018-11-14 20:53:04 +05:30
katiepillar6
c90dfd2f81 Return 0 (#21561)
Added return 0 statement to the end of the code, to ensure a properly compiling program.
2018-11-14 08:14:44 -07:00
kichukiran97
ed3c729071 Fixed typo (#25889) 2018-11-14 18:01:18 +05:30
Prashant Chand
5a99e02a87 Add the syntax "For infinite loop " (#21382)
* Add the syntax "For infinite loop "

* Shifted additions around to be less confusing
2018-11-13 19:24:02 -07:00
Miftah Mizwar
9e5b352a86 Update wrong output of the example of code (#22530) 2018-11-13 21:07:32 -05:00
Miftah Mizwar
8eb754d4eb Update wrong output of the example of code (#22519)
* [x]  I have read [freeCodeCamp's contribution guidelines](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/CONTRIBUTING.md).
* [x]  My pull request has a descriptive title (not a vague title like `Update index.md`)
* [x]  My pull request targets the `master` branch of freeCodeCamp.
* [x]  None of my changes are plagiarized from another source without proper attribution.
* [x]  My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.

Closes #XXXXX
2018-11-13 01:36:14 -05:00
Vishal Kichloo
958c086a8e Added the disadvantage of the array. (#21379) 2018-11-12 15:33:42 -07:00
katiepillar6
640e1298b8 spaces and extra word (#21706)
Added spaces between sentences in first paragraph and removed an additional the in line 208
2018-11-11 00:25:37 -05:00
Brian
dbc6c05166 Add example for ## A word on 'scope' (#21447) 2018-11-10 13:02:05 +00:00
Aditya Oberai
0363a40dcc Grammatical Edits (#22595) 2018-11-09 16:49:01 -05:00
Pawan Bangar
9372b49bb9 Add "Memory Allocation in Array" (#21234)
* Add "Memory Allocation in Array"

* fix: formatting, grammar and example

* fixed grammar, cleaned up table
2018-11-09 12:57:24 +05:30
Pawan Bangar
9e5d2baac1 ADD "Undefining Macro" (#21287)
* ADD "Undefining Macro"

we can undefine macro whenever we want in code by adding #undefine

* fix: markdown title format

* fix: minor grammar corrections

Capitalise first word and remove extra full stops
2018-11-08 19:22:35 +00:00
S.Hale
3920b7c4ce Corrected capitalization, corrected to American spellings and typos (#30685)
* Translate challenge subtitles and example challenge text to Spanish

* Corrected errors in syntax and punctuation

* Multiple corrections of it/s to its plus other grammar corrections

* Correction and added paragraph to CSS Flex article

* Corrected my own typo

* Corrected capitalization, American spellings and typos
2018-11-07 10:34:13 -05:00
arjundixit98
4f37069835 Adding lines and updation (#25081) 2018-11-06 19:35:57 +05:30
katiepillar6
90a417b331 Changed C++ to C (#21734)
Changed a reference to C++ to C.
2018-11-05 04:14:50 -05:00
jacheg
62bf5ad17d Changed the wording for the elements in an array. (#21729)
It was confusing before. Mentioned elements that didn't exist. Maybe meant indexes?
2018-11-05 04:13:33 -05:00
apurv22
b25fd77ed2 Changed 'method' to 'function' for relevancy. (#25037) 2018-11-05 13:45:07 +05:30
katiepillar6
1fa6cee420 changed a to b (#21770)
Changed (a) to (b) so it makes sense and reads logically.
2018-11-05 01:58:17 -05:00
jacheg
dc09ca3e25 Updated typo and more info (#21787) 2018-11-04 20:59:47 -05:00
kenbhatt
a674171714 My change is line 30. (#23571)
Printing hello, world correctly according to the code above given.
2018-11-04 13:18:04 -08:00
allenpbiju
6e42246d53 Added some info (#20123)
Some information has been added on how to define a function after the main program.
2018-11-03 21:14:27 -04:00
blankaex
528b7b413e Added missing spaces (#24171) 2018-11-02 14:43:29 +05:30
Bhuvan Singla
8230f82dd1 Add role of \n in explanation of the code (#20849) 2018-11-02 04:00:07 -04:00
Siddharth Shrivastav
8e843dc352 Add program in C to show variable (#20445) 2018-11-01 13:41:07 -04:00
Bennett Garner
538cab1134 Clarify concepts, rename a function (#20580) 2018-10-31 20:50:56 -07:00
Kirk Manegold
e3afefd2a2 fix(guide): Add protocol information 2018-10-31 21:16:18 -04:00
Siddharth Shrivastav
8f4a27ae8a new information regarding hello world (#20263)
* new information regarding hello world 

 ## Extra
 * you know the first ever program you write was hello world program whether it be in any language.
 * It is because Brian Kernighan was the  first  to write "hello, world" program for the documentation of the BCPL programming language developed by Martin Richards.

* Fixed formatting and improved readability
2018-10-31 17:21:33 -05:00
akadidas
b0df93cc26 Update index.md (#20535)
* Update index.md

Some improvisation and obvious corrections.

* fix: formatting
2018-10-30 22:23:54 -05:00
kenbhatt
48afcd0a3b Changes in lines 6 (#23612) 2018-10-29 15:44:29 -07:00
Pritom Hazarika
533adf6743 Update index.md (#21800)
* Update index.md 

Finding the bigger number using If Else

* Updated index.md

* Update index.md

* Update index.md
2018-10-29 15:10:51 -07:00