Difference between revisions of "Language Logic"

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

Revision as of 04: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 char* name = "value";
JAVA final String Name = "Value";
C# const string VariableName = "SomeValue";

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