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();
asasas
please provide me the assignment help. What is the difference between a copy constructor and an overloaded assignment operator?
derivations 1. Regardless of the type of derivation, private members are inherited by the derived class, but cannot be accessed by the new member function of the derived class,
Create Complex number using constructor: class complex { private:
Write a C++ program with header and source files to store street addresses using the Doubly Linked List ADT. Modify the Node class from Lab Assignment 3 so that it becomes a node i
how to write a program for all the types of beam reactions
Write a program to calculate e^x using the formula: e^x = 1 + x/1! + x^2/2! + x^3/3! + ...... Allow the user to enter the integer number x, then do the calculation in a loop (for
Write a simple telephone book program that stores the names and phone numbers of your friends/acquaintances in a file. Your program should have the abilities to: a. Add entries (n
A: The inline keyword tells the compiler to substitute the code in the function de_nition for each instance of a function call. Though, substitution takes place only at the compile
array of class objects and single inheritance
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