Tuesday, October 20, 2015
ASSIGNMENT -- DATA FILE HANDLING PART 2
ASSIGNMENT -- DATA FILE HANDLING
};
Q 12 Following is the structure of each record in a data file named “Colony.dat”
struct Colony
{
char colony_code[10];
char colony_name[10];
int no_of_people;
};
Wite a function to update the file with a new value of No_of_people. The value of colony_code and no_of_people are read during the execution of the program.
Q 13 Assuming the class ZOO given below, write functions in C++ to perform following:
i. Write the objects of ZOO to a binary file.
ii. Read the objects of ZOO from binary file and display them on screen.
class ZOO
{
char location[20];
int no_of_animals[10];
public:
void readdata()
{
cin>>location;
gets(no_of_animals);
}
void writedata()
{
cout<
}
};
Assignment : ARRAY
Saturday, October 17, 2015
Assignment Linked list , stack , queue
- (A) Evaluate the following postfix
notation of expression:
Thursday, October 15, 2015
Saturday, May 2, 2015
Wednesday, April 1, 2015
Saturday, March 28, 2015
WELCOME CLASS XII SESSION 2015-16
WELCOME TO MY DEAR STUDENTS OF CLASS XII
BE READY TO ACHIEVE YOUR GOALS.
I CAN DO........
I WILL DO.............
Thursday, January 15, 2015
CBSE Practical Examination Pattern Session 2014-15
ASSIGNMENT INHERITANCE
ASSIGNMENT INHERITANCE
-
PPT on Classes and Objects
-
Revision Assignment Boolean Algebra 1. (a) State and algebraically verify Demorgan’s Theorem. ...
-
LINK TO ARRAY ASSIGNMENT