1
1
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2024-12-22 06:41:35 +03:00
Commit Graph

82 Commits

Author SHA1 Message Date
James
3cdecb5941
Add learncpp.com to further reading ()
I've been learning from this site, and it seems good, and the general consensus online is that it's one of the better online tutorials/books for learning C++.
2021-11-01 22:24:35 +01:00
Lilian Besson
4176277ba7
Update c++.html.markdown
Just forcing http:// links to be https:// when possible.

I also read everything carefully and didn't find any mistake or easy improvements I could add (but I'm not that familiar with C++)
2021-01-31 21:55:38 +01:00
Priti Xavier
e07193e6b4
Changed operator < to != () 2020-09-29 14:50:47 +02:00
Spencer Burris
79ebb067b3 Replace newline string with newline character 2020-09-12 21:06:26 -07:00
Ryan Huang
5f6375db90 Remove extra space 2020-05-23 15:34:40 -07:00
Ollin Boer Bohan
43fc3289dc
Minor fixes to C++ Smart Pointer section
* Fix minor spelling / grammar problems ("tp de-allocate", "refences", "dont"...)
* Remove filler words ("Basically", "As a matter of fact"...)
* Remove spaces before parens in smart pointer initialization code sample (consistent with the other sections, e.g. the `Tuples` section)
* Clarify `std::weak_ptr` use case
2019-08-31 08:11:27 -07:00
LamdaLamdaLamda
41f2b7f168 [C++/de] fixed wrong spelling ()
* Added [C++/de]

* [C++/de] filename fixed.

* [C++/de] language code in filename added

* [C++/de] fixed wrong spelling

* [C++/en] smart pointer added
2019-08-03 23:48:39 +05:30
codesoap
696cbc66be c++: Add more explanation to the += overloading example 2019-06-30 12:40:47 +02:00
Max
3a1e38478e
[en] Typo in c++ 2019-03-10 23:56:47 +02:00
Gergely Máté
e2ada2dc91 Move section about containers its logical place
Probably it was its original place, just after templates are introduced,
and before first usage of container types.
2019-01-04 13:23:05 +01:00
Renze Yu
6c4a7afacc
add missing spaces after // in c++ 2018-12-28 23:50:16 +08:00
Ankush Agarwal
00bb4b8a70
efficient typo fix 2018-10-22 14:13:58 -07:00
Ankush Agarwal
2e6208c754
Update comments 2018-10-22 09:12:29 -07:00
Ankush Agarwal
129abf6113
Add comments about unordered_map and unordered_set 2018-10-22 08:44:21 -07:00
Matthew Biondi
3cfb769bfb Addresses , corrects C++ headers description 2018-10-18 12:26:26 -04:00
Divay Prakash
5117208ead Fix links and list styling 2018-10-14 05:26:21 +05:30
Apoorv Choubey
2242ad7a17 add C++ resource 2018-10-13 22:28:57 +05:30
Mario
cd379d9e9e [c++/en] container -> vector ()
* container -> vector

fixed errors:
- "vector_name" and "Vector_name" (different case) would have resulted in a compile time error, now: "my_vector"

enhancements:
- typedef for consistency
- two push_backs to show its purpose
- both iteration types now have a working execution block (both output the vector's content)
- the first "classic loop" now also shows the operator [], which therefor is removed from below
- include and for with a white spaces for readability

* removed the typedef

the `typedef` was used to show that we will be using `string` as our base for all operations, but we are free to use any other type; of course it is technically not needed and might look like a redundancy. the two `cin` also look redundant, so I changed this into one `cin` and two `push_back`s
2017-09-12 08:21:23 +00:00
Andre Polykanine A.K.A. Menelion Elensúlë
c076537cf9 [c++/en] Added public declaration. Fixed 2017-08-30 02:46:49 +03:00
Pratik Karki
d69afc4039 fix language code suffix() 2017-08-25 14:24:43 +05:45
ven
eb44c5bc91 Update c++.html.markdown 2017-05-18 12:48:46 +02:00
omgee
ae16d45078 [c++/en,es,it,br,ru,ch] Fix forgotten namespace std:: () 2017-01-03 08:41:35 +01:00
George Gognadze
1f1f59d9b4 c++/en typo, formatting fixes ()
Space should be removed.
before:
// concatenated_tuple becomes = (10, 'A', 1e9, 15, 11, 'A' ,3.14141)
after:
// concatenated_tuple becomes = (10, 'A', 1e9, 15, 11, 'A', 3.14141)
Typo initialize is correct form.
before:
map<char, int> mymap;  // Will initalize the map with key as char and value as int
after:
map<char, int> mymap;  // Will initialize the map with key as char and value as int
Typo corresponding  is correct form.
before:
// To find the value correponsing to a key
after:
// To find the value corresponding to a key
2016-10-30 10:58:59 +01:00
Andrew Chellis
042ed50381 [c++/en] Fix typo of iterator ()
iteartor -> iterator
2016-10-24 09:43:42 +02:00
Valery Cherepanov
47679dfcbe Some minor (mostly stylistic) fixes in C++ 2016-08-02 16:32:38 +03:00
Jatin Dhankhar
c50ff92996 Added the Logical and bitwise operators section, fixes merge issue with ()
* Added the Logical and bitwise operators section

* Added a note for Short Circuit evaluation

Excerpt from https://en.wikipedia.org/wiki/Short-circuit_evaluation
C++ uses minimal evaluation, or McCarthy evaluation (after John McCarthy (computer scientist)) is the semantics of some Boolean operators in some programming languages in which the second argument is executed or evaluated only if the first argument does not suffice to determine the value of the expression: when the first argument of the AND function evaluates to false, the overall value must be false; and when the first argument of the OR function evaluates to true, the overall value must be true. In some programming languages (Lisp), the usual Boolean operators are short-circuit.
2016-06-27 15:30:07 +02:00
Ankush goyal
281ba5b37a Containers Added ()
* Containers Added

* Text Formatting

Added required spaces between text and //
2016-06-26 22:49:51 +02:00
Geoff Liu
1d562740f3 Remove a section from c++, fixes 2016-02-15 14:33:23 -05:00
AndrejPetelin
1bb2535efd Update c++.html.markdown
v.empty() queries if v is empty while v.clear() actually clears it (or rather sets size to 0).
2016-01-31 16:08:28 +01:00
ven
e1016455d5 fixups 2016-01-28 14:04:41 +01:00
Jaskamal Kainth
fa2b171008 [C++/en] Tuple , Updated 2016-01-28 18:22:11 +05:30
Jaskamal Kainth
4a1a6857ce [C++/en] Tuple , updated 2016-01-28 17:15:44 +05:30
Jaskamal Kainth
c805148618 [C++/en] Tuples in C++ 2016-01-28 15:26:35 +05:30
Jaskamal Kainth
32f18cd992 Added Tuple 2016-01-28 10:38:51 +05:30
bk2dcradle
e6866f5a26 More Fixes 2016-01-08 01:21:38 +05:30
bk2dcradle
19ead59c1f Add my Changes 2016-01-05 13:36:23 +05:30
John Rocamora
fd26c8ddfb Added missing semicolon 2015-12-12 17:51:23 -05:00
Brook Zhou
c3e769e4ac [cpp/en] comparator function for std containers 2015-10-31 16:27:42 -07:00
Cameron Wood
ca435fbb0d [C++/en] Added in Enum information
Added in some information about enums in C++ including some different
use cases
2015-10-17 06:05:54 -04:00
Cameron Wood
e32eb715ef [C++/en] Small inheritance clarification
Clarified that private members are inherited but are not directly
accessible
2015-10-11 03:41:20 -04:00
George Gognadze
9d64b532f8 Update c++.html.markdown
spelling error
2015-10-07 01:27:12 +04:00
Pushkar Sharma
3b246fd869 Grammar
the address
2015-10-05 00:32:34 +05:30
Pushkar Sharma
87e8e77e5f Fixed a mistake from previous commit.
Better explained reference address.
2015-10-05 00:13:54 +05:30
Pushkar Sharma
9bc553c46c Update c++.html.markdown
Regarding issue , Better explaining the Reference 'fooRef'.
2015-10-04 10:12:55 +05:30
Alva Connor Waters
c4b8281cee Add to contributors 2015-10-02 16:19:29 +00:00
Alva Connor Waters
12286a4b78 Misc. typos and formatting 2015-10-02 16:10:22 +00:00
Alva Connor Waters
455afa3a7b More explanation on virtual destructors 2015-10-02 16:10:22 +00:00
Alva Connor Waters
ae86e4ebab Clarify character literals 2015-10-02 16:10:01 +00:00
George Gognadze
8eb410208a Update c++.html.markdown
o should be capitalized.
this: overrides
should be: Overrides
2015-10-01 18:55:28 +04:00
Geoff Liu
85f6ba0b57 A note about RVO 2015-09-02 00:46:30 -06:00