Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Program is to store marks and name, roll no in a file:
class stud
{
int rno;
char name[20];
int m1,m2,m3;
public:
void accept()
cout<<"enter the roll no. : ";
cin>>rno;
cout<<"enter the name : ";
gets(name);
cout<<"enter marks of 3 subjects : ";
cin>>m1>>m2>>m3;
}
};
void main()
clrscr();
stud s;
s.accept();
ofstream a ("stud.dat" , ios::binary | ios::app);
a.write ( (char *) &s , sizeof(s) );
a.close();
what is cexplain
application problem of tower of hanoi
Protected derivation In addition to doing private and public derivations, you may also do a protected derivation. In this situation : The private members inherited
i need expression and its types with example programs in c++
Simple program of c++: int main() { int bushels; float dollars, rate; cout cin >> dollars; cout
Explain about the strategies of implementation of the statecharts, Database Management System?
Program is to take two arguments and returns the string: Program is to take two arguments and returns the string which is larger the larger string has larger ascii value invok
#solution for decode the code for smuglers
Ask questionhow to creat a file herachy for stream class #Minimum 100 words accepted#
Can any constructor throw an exception? How to handle error while the constructor fails?
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd