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 first n natural no in a file:
Write a program to store first n natural no in a file
void main()
{
fstream file;
file.open("student.dat",ios::in|ios::out|ios::app);
int n;
cout<<" enter record to be modified ";
cin>>n;
file.seekg((n-1)*sizeof());
file.read((char *)& ,sizeif());
file.write((char *)& ,sizeof());
file.close();
}
#include stdio.h> #include conio.h> #include ctype.h> #include string.h> void main() { int i=0,j=0,length; char a[30]; cl
Question 1: (a) Describe the following objects and condition states: (i) ifstream and ofstream objects (ii) eof(), fail(), bad() and good() functions. (b) Write a C++ pr
Bitwise Operations 1. Write a function that has an int parameter n, makes an integer mask having the bit 1 at the nth place from the rightmost bit, and returns the mask. For ex
Calculate the area of a rectangle
how i can open a file
decoding
Explain Rules for constructing variable names? The Rules for constructing variable names : a) A variable name is any combination of alphabets, 0 to 9 digits and undersc
AREA UNDER THE CURVE USING C
You're going to simulate a metropolitan subway train. The train system will start out at Station #1, or Home Station, and will service multiple stations along its route.
Generate a class node that contains an integer id, a position (x, y) and a vector of 0 5, generate a set of x nodes each with random connectivity n. Implement an algorith
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