Commit Graph

84 Commits

Author SHA1 Message Date
UberschallSamsara
26bb9b6585 Wrap syntax example in ```cpp (#33287) 2019-03-28 16:31:34 +04:00
THIRUMURUGAN.R
f0b29bcb28 Add some info to switch in C++ (#31092) 2019-03-28 15:54:26 +04:00
Gourav
82ff627738 Add recursive function definition and example (#30714) 2019-03-26 18:16:37 -07:00
toakes59
a3b913fa06 Added Line and Block comments (#28922)
Added how to use Line and Block comments with an example showing it.
2019-03-23 23:32:03 -07:00
Samuele Bella
306184e176 Updated index.md with grammar errors (#28809)
Updated index.md reviewing grammar errors and general syntax errors.
2019-03-23 23:31:20 -07:00
JM0S3R
b7416e151c Update index.md (fix) grammar errors (#28348) 2019-03-23 23:03:46 -07:00
Emily Hem
e023e9d603 Declare x as an int (#28135) 2019-03-21 22:15:54 +05:30
despare
08cb91afc5 added when while loop is used (#34128) 2019-03-21 12:43:41 +05:30
Terry Lewis
0b964091c9 Add section on iterator-based loops (#33423) 2019-03-20 18:50:21 -07:00
prashantkumar1997
49779d1f57 Added Reference Section & link to existing sources (#32312) 2019-03-19 18:34:56 -07:00
Harsh Savergaonkar
c439d3a9e1 Made explaination easier (#32028) 2019-03-19 18:29:14 -07:00
despare
6cf08fb0ae Update index.md (#31789) 2019-03-19 07:57:30 -07:00
Chris Steenkamp
91926b71fe Corrected markdown for example code (#30387)
The markdown used in the examples in the section titled Implementation had the closing back-ticks specified on the wrong line, causing the code examples to be incorrectly displayed.
2019-03-17 18:48:57 -07:00
toakes59
542cf6a68f added For Loop heading (#30382)
Added For Loop heading to top of page.  This is easier to see then the title table
2019-03-17 10:22:43 -07:00
ayagrwl
ea4eaf02b6 Added applications and external link (#29227) 2019-03-17 10:02:39 -07:00
toakes59
b4044fe267 Changed a = a + 1 to a++ (#28742)
Changed a = a + 1 to a++ in implementation section.  It is best practice to use a++ rather than a = a + 1
2019-03-17 09:45:59 -07:00
Christopher McCormack
a3c4d5f3c1 feat/cleaned up formatting, added clarity, removed unnecessary parts (#35519)
* feat/cleaned up formatting, added clarity, removed unnecessary parts

* feat: removed chart image
2019-03-12 09:08:48 -05:00
sah-pinocchio
6ae6e6fa05 edit text. (#30845) 2019-03-04 20:19:09 -07:00
kwyoke
61b7ac8948 Clarified use of using namespace std (#30681) 2019-03-04 08:11:15 -07:00
Tristan Sweet
281819741a Edited commas (#30627) 2019-03-04 07:54:11 -07:00
Aadat
f7899f3f1c Added object oriented keyword in definition of cplusplus (#30056) 2019-03-03 14:14:40 -07:00
Aadat
5da72be9ca Added wikipedia link for Bjarne Stroustrup (#30052) 2019-03-03 13:22:19 -07:00
samujjal1618
99906d2589 Added some more information (#27749) 2019-03-03 12:43:13 -07:00
seanjs
30b630b5b7 Realign indentation and checkstyle of bracket (#29205)
* Realign indentation and checkstyle of bracket

* Update index.md
2019-02-25 18:17:43 +09:00
hwannee
f6b7958094 Correct wrong bracket 2019-02-25 17:46:35 +09:00
Koustav Chowdhury
d226f4ceaa Changed as per review 2019-02-25 16:45:05 +09:00
Koustav Chowdhury
d4848df011 Alternative way to sort a vector 2019-02-25 16:45:05 +09:00
Nischay Hegde
c2e6329296 Fixed grammar, among other things. (#27130)
Since `#include <bits/stdc++.h>` is not a part of the C++ Standard, it was changed to more appropriate headers.
Also fixed the grammatical errors here.
Added a few helpful links.
2019-02-17 17:12:48 -05:00
Mike Bottom
3f36c8549d Update index.md (#35035)
Grammar, one word removed ("ever"), to reflect more typical phrasing.
2019-02-07 08:16:04 -07:00
whoandrewis
445f8ac27e Added ex C style Cast - important to recognize (#27371)
Additional note on how C-style casts are not recommended. Important for people to recognize when they come across, and modify if they wish.
2019-02-07 08:15:33 -07:00
maidak95
98473c2582 Add paragraph "Two-dimensional Array" (#26347)
* Add paragraph "Two-dimensional Array"

* Fix formatting
2019-02-05 14:00:01 -05:00
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