- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 4
- Posts with Downvotes
- 2
- Downvoting Members
- 3
4 Posted Topics
[CODE]#include<iostream.h> #include<fstream.h> #include<string.h> #include<stdio.h> class database{ public: virtual double store_data(void); virtual double GetPassingMark(int pass); virtual void display(void); virtual void edit(void); protected: void data(void); //database() //~database() }; double database::store_data(void) { char code[100]; double totalmark,laboratory,exam,assignment,sum_assignment; int i,no_of_parts,a,pass; totalmark=0; ofstream display("D:\\record system.txt"); for(i=0;i<7;i++) { cout<<"=======================================================\n"; cout<<"1.enter the subject code"<<i+1<<"\n"; cin>>code; cout<<"2.Enter no of …
[CODE]#include<iostream.h> #include<fstream.h> #include<string.h> class database{ public: virtual double store_data(void); virtual void save(ofstream &file); virtual double GetPassingMark(int pass); virtual void display(void); virtual void edit(void); protected: void data(void); //database(){cout<<"constructing";} //~database(){cout<<"destructing";} }; double database::store_data(void) { char code[100]; double totalmark,laboraty,exam,assignment,sum_assignment; int i,no_of_parts,a,pass; totalmark=0; for(i=0;i<7;i++) { cout<<"=======================================================\n"; cout<<"1.enter the subject code"<<i+1<<"\n"; cin>>code; cout<<"2.Enter no of …
i dunt uderstand....can anyone post the full edited code here...plzzzzzz
i need a sample program how to enter values in a array,display the results, and edit the values that entered. actually i need to make a program to create a database to store students marks and edit the values....... so any one can help with a sample program?
The End.
karthz85