Sunday, March 29, 2009

UML Class diagram

A UML Class Diagram, is a type of static structure diagram that describes the structure of a system by showing the system's classes, their attributes, and the relationships between the classes.

http://en.wikipedia.org/wiki/Class_diagram

Monday, March 23, 2009

Cat and Dog Classes

The constructor sets out properties in to the class.

The Cat Class had three properties of _strCatName,_strCatAge,_strCatBreed and two methods of Meow and ChaseMouse.


The Dog Class had three properties of _strDogName,_strDogAge,_strDogBreed and three methods of GoWalkies and Bark.

Classes and Objects in Visual Studio

Classes are types and Objects are instances of the Class. Classes and Objects are very much related to each other. Without objects you can't use a class. In Visual Basic we create a class with the Class statement and end it with End Class.

Monday, March 9, 2009

UNICODE

Fundamentally, computers just deal with numbers. They store letters and other characters by assigning a number for each one. Before Unicode was invented, there were hundreds of different encoding systems for assigning these numbers. No single encoding could contain enough characters: for example, the European Union alone requires several different encodings to cover all its languages. Even for a single language like English no single encoding was adequate for all the letters, punctuation, and technical symbols in common use.

These encoding systems also conflict with one another. That is, two encodings can use the same number for two different characters, or use different numbers for the same character. Any given computer (especially servers) needs to support many different encodings; yet whenever data is passed between different encodings or platforms, that data always runs the risk of corruption.


A unicode chracter chart can be found on this site - http://www.unicode.org/charts/

ASCII

ASCII stands for American Standard Code for Information Interchange. Computers can only understand numbers, so an ASCII code is the numerical representation of a character such as 'a' or '@' or an action of some sort. ASCII was developed a long time ago and now the non-printing characters are rarely used for their original purpose.

A complete table of charcters and meanings is shown on this site - http://www.asciitable.com/