Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
4
Posts with Downvotes
2
Downvoting Members
3
1 Commented Post
0 Endorsements
~442 People Reached
Favorite Forums
Favorite Tags
Member Avatar for karthz85

[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 …

Member Avatar for Nick Evan
-2
93
Member Avatar for karthz85

[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 …

Member Avatar for chiwawa10
0
125
Member Avatar for xofth

i want to delete a element from the array i use this logic but it is not working [CODE]#include<iostream.h> #include<conio.h> main() { int arr[5]; //10 element int array int key; // key to edit int length=5; //length of array clrscr(); for(int i=0; i<length ; i++) { cin>>arr[i]; } cout<<"Enter item …

Member Avatar for Narue
0
140
Member Avatar for karthz85

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?

Member Avatar for karthz85
0
84