• (7 Pages)
  • +
  • « First
  • 5
  • 6
  • 7

C++ Quick Reference Sheet (Cheat Sheet) Rate Topic: ***** 35 Votes

#91 nazzie  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 39
  • Joined: 31-July 12

Posted 31 July 2012 - 04:16 AM

Thanks this is really a great help :)
Was This Post Helpful? 0
  • +
  • -

#92 pranitb  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 15-February 13

Posted 15 February 2013 - 07:53 AM

how to download the reference sheets, i can only see the index page of pdf.
please help
thanks in advance.
Was This Post Helpful? 0
  • +
  • -

#93 trip2137  Icon User is offline

  • New D.I.C Head

Reputation: 3
  • View blog
  • Posts: 28
  • Joined: 28-May 10

Posted 27 August 2014 - 03:48 AM

An update concentrating on C++11 would be great!
Was This Post Helpful? 0
  • +
  • -

#94 alex561  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 9
  • Joined: 22-November 14

Posted 22 November 2014 - 05:26 PM

Sweet, Thanks!
Was This Post Helpful? 0
  • +
  • -

#95 C++Standard  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 01-January 15

Posted 01 January 2015 - 09:11 PM

While this is a good start I a few comments and suggestions.


  • Include Headers - Missing #include "headerfile".
  • Common headers - math should be cmath.
  • Namespace - this is a using statement, not a namespace. Also using namespace std; should be discouraged not promoted in such a generalized way.
  • Data types - missing short, long, long long, and long double. The last two were added in C++11.
  • Switch/case - <constant#> and <constantn+1> can be generalized with <constant-expression>. <constantn+1> can be removed without losing clarity.
  • I/O Operators - cin >> var1, var2, var3; does not appear to be correct for that context. Should likely be cin >> var1 >> var2 >> var3;. This section could be moved into a separate Standard Library Reference.
  • File I/O - This section could be moved into a separate Standard Library Reference.
  • File Mode Constants - Might be a good idea to include which header they are defined in. This section could be moved into a separate Standard Library Reference.
  • Function Prototype - This is a function definition not a declaration or prototype.
  • Class Prototype - This is a class definition not a declaration or prototype. The comments can be more specific to detail accessibility (i.e. //members accessible by everyone, //members accessible by the class and derived classes, //members accessible by the class).
  • Structure Prototype - This is a struct definition not a declaration or prototype. There should be some indication that <object name> is optional. Also class and struct are synonymous and the only difference is default accessibility of members and inherited members. This could be merged with class information.

Was This Post Helpful? 0
  • +
  • -

  • (7 Pages)
  • +
  • « First
  • 5
  • 6
  • 7