Quote:

The amount of happiness that you have depends on the amount of freedom you have in your heart

Thursday, 31 May 2012

MCM301 QUIZ 3 PAST

MCM 301 QUIZ - 1

BY MUHAMMAD FARRUKH : BSCS- 7TH


















Sunday, 15 April 2012

CS410 Assignment 1 spring 2012 solution idea

CS410 Visual Programming

Assignment 1 spring 2012 solution idea.

Read the following topics:

  1. Structures:
  2. 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;