53 Commits

Author SHA1 Message Date
Nischay Hegde
aaf9d30677 Fixed grammar and Indentation (#27154)
Fixed grammar and corrected some ambiguous statements.
Changed some code to bring uniformity in indentation.
2019-01-31 16:39:16 -07:00
kzellers
63aae858d7 added enhanced for loop example (#23915)
* added enhanced for loop example

* Update index.md

* Update index.md

* Update index.md
2019-01-23 15:53:37 -05:00
Lauren
1bfae61790 Update index.md (#26198) 2018-12-21 06:33:09 -05:00
Hardik Sharma
ee930678cd Edited some typos (#26118) 2018-12-21 05:10:20 -05:00
Ishita Bansal
9a10046c2f Add "Difference between array and pointer" (#24541) 2018-12-20 12:33:05 +05:30
VassMark
5cf0c9b6e5 fixed list dec, and markdown list (#25227) 2018-12-19 04:56:24 -05:00
nishk1997
7886c73726 An important point while using while loop (#25026)
* An important point while using while loop

* Grammar fixes
2018-12-15 05:54:34 -05:00
GiraffeWarrior
f188c3cd9d Edited "For Loop" entry for grammar and clarity (#24875) 2018-12-14 22:16:16 -05:00
TrollzorFTW
4887c4316e An efficient way to read your variables (#24844)
* An efficient way to read your variables

Instead of declaring the variable "grade" in a trivial way by giving it value directly from code,
we can enter it when we run the program, to make our code more dynamic and testing multiple situations
by just re-running the program and entering a different thing as an input, instead of modifying the variable
over and over again

* Cleaned up comment
2018-12-13 23:20:18 -05:00
Saboor Elahi
faeb8454e0 Functions are elaborated & more examples are added (#24798)
* Functions are elaborated & more examples are added

* Cleaned up code and added formatting
2018-12-13 23:07:57 -05:00
Stephen James
98b736ecc3 Reworded some of the text, to be more accurate. (#24542)
One note: I didn't remove it, but Google's C++ coding standard forbids the use of
using namespace std;
2018-12-11 19:56:24 -05:00
LT
ba1935ee3c Changed the tick marks for std::list<int> Numbers; (#24172)
Changed the tick marks for std::list<int> Numbers; so it displays correctly.
2018-12-06 21:05:00 -05:00
nishk1997
fac9919926 Use of proper indendation (#24024) 2018-12-02 16:28:40 -05:00
Robert Samu
08cc2e289c Fixed mistyped words (#25397) 2018-11-29 18:12:34 +05:30
Akshat Tripathi
d8861ab98a added a small statement (#23119)
* added a small statement

* Fixed formatting
2018-11-26 05:24:01 -05:00
Aaditree
690f83f1da Feature and Grammatical Corrections (#29581)
* Feature and Grammatical Corrections

Added a feature of stack . 
Made corrections, which were grammatically incorrect.

* Update index.md

* Update index.md
2018-11-25 20:09:15 -08:00
Koustav Chowdhury
ac3e66b0a4 An alternative approach + a correction (#23845) 2018-11-25 17:56:34 -08:00
Robert Samu
184b5c2bf0 Fixed mistyped words (#25401) 2018-11-21 10:37:50 +05:30
Matt
d219d38644 typos, grammar, output fixes (#22987)
Minor fixes to typos, grammar and example output framing
2018-11-20 19:00:47 -05:00
Stephen James
0216725df6 Reworded some of the text for C++ arrays (#24477) 2018-11-19 16:36:07 +05:30
fadelpamungkas
d93ad2c00b Fix some indentation and change some typo (#22017) 2018-11-17 20:13:05 -07:00
staerGazer
bd8411405d added info on initializing arrays with fewer values than there are elements (#21814)
I also stated that values are entered into an array in ascending order, starting with the first element.
2018-11-17 09:44:53 -07:00
Vamsi Krishna
51e29fcf7d Fixed typo from 'LIFO' to 'FIFO' (#22226) 2018-11-16 23:40:18 -05:00
Akshat Tripathi
8feb48aab9 new member function (#23146)
* new member function

* Fixed formatting
2018-11-16 04:44:15 -05:00
Hardik Sharma
bb03dc8c80 Fixed the typos, as usual (#26141) 2018-11-15 11:28:06 +05:30
Amy Gonzales
468b692fb3 Fixed "woth" typo! (#24261)
Last sentence, fixed "woth" into "with".
2018-11-14 20:53:40 +05:30
Erdem Efe Erol
a211bee4ad Added new download links to index.md (#21510)
* Changes in index.md

Added an IDE download link for Linux.

* Markdownize links + make them look better
2018-11-14 08:20:45 -07:00
Hardik Sharma
caaa78346b Fixed some typos. (#26138) 2018-11-14 20:22:45 +05:30
rdfriesen
f5d5de59c0 typo fixes (#21166) 2018-11-09 06:11:45 +07:00
Kevin Haynes
3674a818e3 Updated index.md (#21259)
added a few more operators that would be useful to beginners.  Sprinkled in a little extra terminology about pointers in order to... point... beginners towards something to look up.
2018-11-08 13:18:06 +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
53032e38c7 Adding lines of text (#25079) 2018-11-06 19:16:07 +05:30
jlewismith
70d8675171 Fixed several typos. (#21699) 2018-11-05 04:07:32 -05:00
deliaphan
d9e5321c4e fix typo error (#24996) 2018-11-05 13:32:20 +05:30
chaudhary-anurag
af3c7e8794 Fixed minor typo (#21805) 2018-11-05 01:59:10 -05:00
Varun kumar
b3ece51199 added uses of queue (#20730)
* added uses of queue

* fixed formatting, placement
2018-11-03 10:41:16 -07:00
Jared Ezzet Hasson
394ea7aa93 Anecdote about C++ (#20361)
* Anecdote about C++

Linked the name of C++ to the update statement in a for loop.

* minor fixes
2018-11-02 21:47:06 +05:30
Shailendra Paliwal
4b581c9cf8 improved formatting (#33181)
I have made two changes, added a code block around `while()` syntax and fixed the formatting of H3 title Sources
2018-10-31 16:16:46 -05:00
nishk1997
99cff6dc9d Fix spellings (#24013) 2018-10-31 09:14:48 +05:30
Matt
7c09631c06 minor additions/corrections (#20478)
Small grammar corrections, and additions info/examples
2018-10-29 21:58:55 -07:00
Yves Wienecke
22e9b6ee58 Added example of common mistake people have with do whiles (#20375) 2018-10-29 22:13:12 -05:00
Aman Shah
d397745e30 Update index.md (#24532) 2018-10-29 16:00:53 -07:00
Yves Wienecke
a3b20c0652 Return types, pass by reference vs pass by value (#20261)
Expanded on what data types can be returned. Also added section for the differences between passing an object as a parameter by value versus by reference.
2018-10-28 20:27:41 -05:00
Yves Wienecke
0fdef12b15 Included example of inheritance (#20187)
Added an example of inheritance with an 'animal' base class and a 'cat' derived class
2018-10-28 09:43:08 -05:00
Yves Wienecke
aa624dd7e4 Delete [] operator and Valgrind (#20121)
Changed how to free memory assigned to a pointer to an array of object. Also added information about how to check for memory leaks with valgrind.
2018-10-28 09:30:23 -05:00
Mohit Chandra Kukunoori
3c9b9a6d4b Created index.md for sort in stl-algorithms guide (#19546)
* Created index.md for sort in stl-algorithms guide

* Grammar, spelling fixes

* Update index.md
2018-10-25 17:53:26 -07:00
Heather
dbf1e325d9 Merged Inline Function and Inline Functions articles (#21847)
* Combined Inline Function articles

* Merge articles titled "Inline Function" and "Inline Functions" under "Inline Functions" for C++

* Combined articles, deleting "Inline Function"

* Delete "Inline Function" article
2018-10-22 21:25:55 -07:00
Shardic1
e815d86998 Fixed some typos. (#26132) 2018-10-22 21:49:25 -04:00
rdfriesen
7d030bfccc typo fixes (#21210) 2018-10-20 21:50:52 +05:30
jlewismith
4f4100b00a Fix typos "witht" and "spaguetti" (#21649) 2018-10-20 01:27:57 +05:30