Category: Cheat Sheets

HTML Attributes

All of the below information is courtesy of W3 Schools and can be found here Attribute Tag Description accept [crayon-6109e45f7d353662714078-i/] Specifies the types of files that the server accepts (only for type=”file”) accept-charset [crayon-6109e45f7d365020427217-i/] Specifies the character encodings that are to be used for the form submission accesskey Global Attribute Specifies a shortcut key

C and C++ Keywords

Below is a cheat sheet for C and C++ keywords. Keywords are words already in use within the C++ or C programming language that perform specific actions operators or functions. Within the brackets or parentheses are synonyms for the operators. If you see c++ then this indicates this specific keyword is only for C++ and

C++ Data Types

Below is a cheat sheet for C++ data types showing the amount of bytes each one uses and there specified ranges. Data Type 16 Bits 32 Bits Range unsigned short int 2 bytes 2 bytes 0 to 65,535 short int 2 bytes 2 bytes -32,768 to 32,767 unsigned long int 4 bytes 4 bytes 0

C++ Operators

When looking at the precedence level column, remember level 1 is the highest precedence and each level thereafter has less and less precedence. Precedence Level Operators Order of Evaluation 1 ( ) . [ ] -> :: Left to Right 2 * & ! ~ ++ — + – sizeof new delete Right to Left