Commit Graph

160 Commits (bcbf14a25e1a75b2ec509bc4776f86bb529dc87e)

Author SHA1 Message Date
MelodyMale 1add8e9067 Edit "sizeof()" into italic style in line 51 (#26870) 2019-01-10 21:16:36 -05:00
punit78 8f9d26c4ad Deleted " ++number statement from Floyd's Triangle " (#30858)
added "number++" within the printf()
2019-01-08 12:11:10 -07:00
Tanmoy Sarkar 863fd135ea Corrected Syntax index.md (#29260)
There was a syntax error - missing ';'
2019-01-08 10:53:27 -07:00
Ayush Shrivastav 4745843717 Update index.md (#28530)
Updated Loop Description
2019-01-08 10:52:26 -07:00
shahiarpit aff166ba45 Updated index.md (#28498)
Corrected few mistakes.
2019-01-08 10:09:21 -07:00
blankaex 7933d6fa3a Added a section on optimistic indentation (#24185) 2019-01-08 09:45:19 -07:00
Tammy Lee 18b053378d Added about statically vs dynamically allocated (#31555) 2019-01-05 10:16:47 -07:00
pcsingh cf06cd9ad9 Update index.md (#31403) 2019-01-05 10:15:47 -07:00
athreya2013 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
Papun Charan 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
kichukiran97 d50c344772 Typo (#29638)
ints was there which will make confusion
2019-01-05 09:05:51 -07:00
YenruoY 527a1fd177 Added missing semicolon (#29437) 2019-01-05 08:59:54 -07:00
Tanmoy Sarkar e411dc3dc5 Simplified index.md (#29285)
Simplified the logic of nested loops of pattern printing.
2019-01-05 08:59:13 -07:00
samujjal1618 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
Candice Beaman 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
owlhoo 8a21fe58f1 Update index.md (#26416) 2019-01-02 11:14:33 -05:00
muskaangupta15 3cee0f4afb Update index.md (#27111) 2018-12-31 09:57:20 -07:00
owlhoo 07ae8e2985 Update index.md (#26435) 2018-12-31 09:54:49 -07:00
Ritaban Datta ff93803254 Updated review in index.md (#32503)
Added a point in Review
2018-12-26 11:35:45 -07:00
Anutosh1 56199a5511 arrays and strings (#32030)
* arrays and strings

* fix: spelling and removed unnecessary fragment
2018-12-26 11:31:05 -07:00
Tzupy f809383489 Added an initialization example with empty curly braces (#30973) 2018-12-26 11:09:36 -07:00
Xiaojie(Aaron) Li 65fc276113 fixed grammar mistakes (#30510) 2018-12-26 11:02:39 -07:00
nightsurfer7 3e99f0cf25 Removed an unnecessary comma. (#29473) 2018-12-26 11:01:06 -07:00
philippG777 514409badf Rework the arrays and strings guide for C (#29444)
* Use code blocks instead of plain text

* Fix manual implementation of strlen

* Fix array-declaration in code snippets
2018-12-26 11:00:19 -07:00
Briana Cowles 5400a1da8c added documentation for strncpy (#27565)
* added documentation for strncpy

* fix: formatting
2018-12-26 10:12:22 -07:00
ishan-sriv 6656ac26ba Add line 159 (regarding stricmp) to the article (#27032) 2018-12-26 09:34:52 -07:00
blank10032 946f53b8a0 Added another example using nested if statements (#24197) 2018-12-23 15:35:11 -07:00
Daniel 050b30dfed Corrected minimum value of a long long in C Guide (#25576)
Under the "Even longer integers: 'long long'" section of the "Data Types in C" article of the C Guide, the minimum value stored was listed as -9,223,372,036,854,775,807.  This was corrected to -9,223,372,036,854,775,808.
2018-12-21 22:05:19 -05:00
Arunangshu Biswas f00c2e6730 Added two more additional learning resources (#25538)
I've added two more useful and informative websites as additional learning resources.
2018-12-20 20:00:12 -05:00
yoadwo 5606023aae Update Index.md (#24095)
added clarification: strlen() does not include the null-termination character
2018-12-19 04:12:59 -05:00
hariom Choudhary 3920b20718 Example to explain working (#25137) 2018-12-19 03:15:29 -05:00
Connor 2c1c11c34a Added resource link to Beej's Networking Guide (#25241)
Added a link to https://beej.us/guide/bgnet/, which is an excellent resource for learning network programming in C
2018-12-18 23:41:36 -05:00
Christopher McCormack d27ed9ce78 refactor: fixed formatting/spelling/grammar, added table of contents (#34704) 2018-12-18 17:27:26 -08:00
Robby Renz 785f22e985 Add way to compile and run C programs via Cygwin (#34038)
* Change the level of the bullet points

Changed the level of the bullet points in "A review" section to make it more organized.

* Fix typo of 'Gnu' to 'GNU'

* Add a way to compile and run C programs via Cygwin

I added a section explaining a way to use Cygwin to compile and run C programs.
2018-12-18 16:29:43 -07:00
shadmantaqi a9dfb97bbd Change The printf function of the Hello World code (#30996)
Just changing the printf string of the Hello World code to match the code used later in the article
2018-12-18 15:59:16 -07:00
Tristan Sweet 945b89d569 Update index.md (#30620) 2018-12-18 15:24:13 -07:00
kichukiran97 d1c26fd230 Grammar mistake and typo (#29665) 2018-12-18 15:12:53 -07:00
Juan D Frias 924c95518a Fixed minor formatting issues, expanded content (#29265) 2018-12-18 12:48:30 -07:00
matthewoelke 2037263dba Update index.md (#27467)
Added note that main function is only called once.
2018-12-18 11:03:49 -07:00
Sunny d7685dd30b Added wikipedia page link for more description about Dennis Ritchie. (#27016) 2018-12-18 10:58:53 -07:00
DEBSUBHRA ROY df2d3de61e Correcting format (#26885) 2018-12-18 10:38:44 -07:00
Meghan Westvig be9a3ac76c Fixing spelling errors (#27200) 2018-12-17 14:56:19 -08:00
Ankit Mathur 52e288423f Correcting grammatical errors. (#33528)
* Correcting grammatical errors in syntax section.
2018-12-17 12:39:20 -07:00
Parul-Seth b1f8474ed1 add text (#31948)
nested for loop
2018-12-17 11:52:45 -07:00
richard937 406e5f8220 I have added a 'Note' part (#31868)
The note part explains where we can use 'for' loop without using curly braces.
2018-12-17 11:08:27 -07:00
eliberator dcceee67fc typo guide c more-math rightshift (#31663)
* add output missing line; 'for' C guide in Spanish

* typo - update the right-shift variable from c to b

* typo - ES change var of right-shift from c to b

* typo - AR change the right-shift oper from c to b

* typo - CN update var of rightshift from 'c' to 'b'

* typo - PT update var of right-shift 'c' -> 'b'

* typo - RU update var of right-shift from 'c' to 'b'
2018-12-17 10:48:36 -07:00
shadmantaqi 6750091708 add return 0; in example (#31008) 2018-12-17 10:33:30 -07:00
AKASH JAIN 4fc41ac133 Leaving Parts Blank in a for loop. (#30479) 2018-12-17 10:06:38 -07:00
Juan D Frias 6d97b7e795 Fixed formatting, expanded text and corrected code output (#30111) 2018-12-17 09:51:53 -07:00
Máté Szőnyi 0e92f98997 Added a note for the example (#29878)
When I started learning programming for a good amount of time I couldn't understand why did we start the loop from 0 to print out values of an array, because I didn't know the "arrays are indexed from 0" rule back then. I thought this could be helpful
2018-12-17 09:34:47 -07:00