Commit Graph

121 Commits

Author SHA1 Message Date
TrollzorFTW
a1ff408e00 Outputing an "auto" variable (#31263) 2019-07-19 15:55:32 -05:00
Edmond Liu
53470d2fd8 Update index.md (#36349)
Removed some statements talking about the optimization potential of goto (which is mentioned but never specified), and I gave a possible use-case for goto followed by some constructs that can replace it, and ended on why goto is discouraged in C++

Added information about the memory behaviour of labels, the syntax to create a label, and where a label can actually be placed (within the same function).
2019-07-15 07:04:27 -07:00
KartikSoneji
72be29068a Added info; Fixed formatting; (#36329)
Added note on Scope
Fixed formatting of example and added better way to rewrite example.
2019-07-15 06:31:54 -07:00
Gourav Kumar Singh
f4fa71fc63 Update index.md (#33347)
* Update index.md

* fix: formatted code
2019-07-05 12:19:00 -07:00
VassMark
b940a593e2 short article about smart pointers (#25194) 2019-06-27 18:38:54 -07:00
Gourav Kumar Singh
1195a986d5 Update index.md (#33326)
* Update index.md

* fix: rearranged OP's content
2019-06-27 15:05:09 -07:00
Andrew Mackie
5c51c407c0 Fixed typos and added examples and a reference. (#32031) 2019-06-27 12:50:39 -07:00
Andrew Mackie
2f8d009133 Update index.md (#29940) 2019-06-25 10:11:37 -07:00
Randell Dawson
8ce1b374e3 fix: replace languages preceded by space 2019-06-25 16:57:43 +08:00
Randell Dawson
22f52296bc fix: replace c++ with cpp for language postfix 2019-06-25 16:57:43 +08:00
Nischay Hegde
321ee3e69d Changed the file to reflect standards (#27542)
* Changed the file to reflect standards

`goto` is generally discouraged for use in C++, which wasn't what this was saying. Dijkstra even [said](http://www.u.arizona.edu/~rubinson/copyright_violations/Go_To_Considered_Harmful.html), "The go to statement as it stands is just too primitive; it is too much an invitation to make a mess of one's program." in 1968. This file seemed to indicate the opposite.

* fix: fixed grammar
2019-06-24 15:24:30 -07:00
muskaangupta15
4cd38be757 Update index.md (#27093)
* Update index.md

* fix: changed c++ to cpp
2019-06-24 15:02:55 -07:00
sah-pinocchio
fe0373797b add member function "at" (#30838) 2019-06-22 22:23:42 -05:00
Prab
4432a9a2fa Updated debugger section (#30965)
* Updated debugger section

Added additional info about a debugger's capability

* fix: changed c++ to cpp
2019-06-22 22:14:25 -05:00
Amulya Gaur
81356391f0 Added topcoder tutorial links (#30852) 2019-06-15 21:31:24 -05:00
Ahmad Abdolsaheb
d24778ceb8 fix: replace imgur URLs with s3 URLs for files with potential conflict (#36049)
* fix: replace imgur with s3 for files with potential conflict

(cherry picked from commit 4ec62c0e29a64b0288eade45fb510f25c622945a)

* fix/remote extra link

Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* fix: revert change
2019-06-12 11:19:43 +03:00
Ahmad Abdolsaheb
a16539becf fix: replace imgur with s3 for english guide without conflict (#36053)
* fix: imgur to s3 for englsh guide without conflict

(cherry picked from commit 9c9f15abf4e755feab79ef7090dacdcf497ea7b6)

* fix: revert unrelated changes
2019-05-20 23:54:51 +05:30
Nischay Hegde
6f8dde9bad Fixed outdated info (#27187)
* Fixed outdated info

C++98 wasn't the standard for a long time. gnu++14 is the current standard and this pull request corrects that.

* Update index.md

* Updated the attribution to fit Purdue's format.
2019-05-17 16:22:22 +05:30
Randell Dawson
0a1eeea424 fix(guide) Replace invalid prism code block names (#35961)
* fix: replace sh with shell

fix replace terminal with shell

fix replace node with js

fix replace output with shell

fix replace cs with csharp

fix replace c++ with cpp

fix replace c# with csharp

fix replace javasctipt with js

fix replace syntax  with js

fix replace unix with shell

fix replace linux with shell

fix replace java 8 with java

fix replace swift4 with swift

fix replace react.js with jsx

fix replace javascriot with js

fix replace javacsript with js

fix replace c++ -  with cpp

fix: corrected various typos

fix: replace Algorithm with nothing

fix: replace xaml with xml

fix: replace solidity with nothing

fix: replace c++ with cpp

fix: replace txt with shell

fix: replace code with json and css

fix: replace console with shell
2019-05-15 19:08:19 +02:00
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