Thursday 31 May 2012
Sunday 15 April 2012
CS410 Assignment 1 spring 2012 solution idea
CS410 Visual Programming
Assignment 1 spring 2012 solution idea.
Read the following topics:
- Structures:
- Enumeration.
Lecture 4 from the handouts of visual programming(windows programming)
Defining a structure in C++
Defining a Structure and declaring its variables in C++:
Example: Initializing a Vehicle Structure.
struct vehicle {
char vehicle-type [];
char maker [];
char engine-no [];
char registration-no [];
unsigned int vehicle-price [];
int year-of-manufacture [];
}vahicle v1, v2, v3;
Subscribe to:
Posts (Atom)