Difference between revisions of "Language Logic"

esse quam videri
Jump to: navigation, search
m (Variables)
m (Variables)
Line 14: Line 14:
 
</tr>
 
</tr>
  
<tr style="background:red; border:2px outset black;">
+
<tr style="border:1px solid black;">
<td style="border:1px solid black;">C#</td>
+
<td>C#</td>
<td style="border:1px solid black;">const string </td>
+
<td style="background:blue;">const string </td>
<td style="border:1px solid black;">VariableName</td>
+
<td style="background:yellow;">VariableName</td>
<td style="border:1px solid black;"> = "SomeValue";</td>
+
<td style="background:gray;"> = "SomeValue";</td>
 
</tr>
 
</tr>
  
<tr style="background:red; border:2px outset black;">
+
<tr style="border:1px solid black;">
<td style="border:1px solid black;">C++</td>
+
<td>C++</td>
 
<td style="border:1px solid black;">const char* </td>
 
<td style="border:1px solid black;">const char* </td>
 
<td style="border:1px solid black;">name </td>
 
<td style="border:1px solid black;">name </td>

Revision as of 03:11, 8 September 2009

Programming Club

Objects

Variables

Variables are objects that are given names, values and sometimes object types. The purpose of variables, are to store data for use later in a program.


Examples
Language Type Name Value
C# const string VariableName = "SomeValue";
C++ const char* name = "value";

Pointers

Referencing

De-referencing

Collections

Arrays

Single-Dimensional Arrays
Multi-Dimensional Arrays
Jagged/Nested Arrays

Lists

LinkedLists
Doubly-Linked Lists
Circular-Linked Lists

Custom Objects

Unions

Functions/Methods

Classes/Modules

Structs/Interfaces

Namespaces

Object Relationships

Inheritance (Is a...)

Single Inheritance

Multiple Inheritance

Virtual Inheritance

Conditional Inheritance

Containment (Has a...)

Association(Uses a...)

Modifiers

Object Types

Byte

Integral

Boolean
Floating-Point
Decimal

Generic

Anonymous

Type Modifiers

Virtual

Immutable/Mutable

Storage Classes

Internal/External

Static

Linkage Specifications

Access Modifiers

File

Method/Function

Class

Namespace

Global

Loops

Recursion

Repetition

Iteration

Programming Paradigms