Commit Graph

102 Commits

Author SHA1 Message Date
Nischay Hegde
97e4c38f08 Fixed Formatting. (#27144)
Fixed the formatting and grammar. 
Also made it clear that `malloc()` is generally discouraged for use in C++. See [here](https://stackoverflow.com/questions/45105100/when-and-why-we-must-use-the-malloc) for more info.
2019-05-12 09:40:01 -07:00
UberschallSamsara
dc9839d908 Added section "Relationship to pointers", fixed misspelled "Initializiation" (#31683)
* Added section "Relationship to pointers"

* fix: changed c++ to cpp
2019-05-11 13:00:38 -07:00
sah-pinocchio
db6756aaa2 add the text in definition of Array. (#30662)
* add the text in definition of Array.

add the text " by adding an index to a unique identifier" after "An array is a series of elements of the same data type which are stored in contiguous memory locations and can be referenced individually".

* fix: changed c++ to cpp
2019-05-11 12:07:29 -07:00
Chris Steenkamp
77509c6d23 Add examples of creating static and dynamic arrays (#30358)
* Add examples of creating static and dynamic arrays

* fix: changed c++ to cpp
2019-05-11 08:40:41 -07:00
samujjal1618
1c7fbc043e Improved on the Dynamic array description (#27761)
* Improved on the Dynamic array description

* fix: changed c++ to cpp
2019-05-11 08:08:13 -07:00
Kyle Lobo
379e76676a Added escape sequences, operators in "terms-to-know-for-beginners" (#28832)
* Added escape sequences, operators in "terms-to-know-for-beginners"

Added extra details/facts about multi-line comments in C++
Also fixed some indentation

* fix: changed c++ to cpp
2019-05-10 17:06:04 -07:00
prashantkumar1997
098f9c478e Added reference links section (#29593)
* Added reference links section

* fix: changed c++ to cpp

* fix: changed one extra c++ to cpp
2019-05-10 16:04:50 -07:00
Nischay Hegde
a43d6c6daf Fixed syntax error. (#27164)
* Fixed syntax error.

Fixed a syntax error in line 55.
Also corrected the indentation.

* Update index.md
2019-05-01 18:03:18 -04:00
Chris Steenkamp
339aa0dcdb Fix minor grammatical and spelling errors (#30407)
* Fix minor grammatical and spelling errors

* fix: made recommend change
2019-04-17 17:38:06 +05:30
Prab
991f2374bd Updated Inheritance and Dynamic Binding sections (#30956)
Added info about single and multiple inheritance. 
Added the alternative names for dynamic binding
2019-04-14 10:38:41 +05:30
Pradnya Taras
1b97336df7 Modified Explanation (#32890) 2019-04-14 10:20:30 +05:30
UberschallSamsara
a0c464e058 Edits for clarity (#33309)
Edited introductory paragraph for clarity.
2019-04-13 22:43:48 +05:30
yashikabadaya
d8a44d691e Commit message (#33334) 2019-04-13 22:42:56 +05:30
Samuele Bella
13709bf178 Update index.md (#28796)
Added an Example where the while loop gets ignored.
2019-04-06 19:25:50 +05:30
whoandrewis
9741e64f21 added structure overview sentence of ways to overload (#27345) 2019-04-02 18:54:43 -07:00
Chelsea Marie Hicks
db5dbf4f66 Grammar and punctuation changes (#30488)
There was inconsistent use of periods on listed statements and changes "Some common flags is" to "Some common flags are".
2019-04-01 23:15:58 +05:30
Descritorio
d03f332de5 Fixed the formatting in all blocks of code (#34095)
* Fixed the formatting in all blocks of code

* Update index.md
2019-04-01 00:27:02 +05:30
muskaangupta15
7af600ab0b Update index.md (#27090) 2019-03-31 23:59:54 +05:30
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