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 append the contents of one file to another:
void main()
{
clrscr();
fstream file1,file2;
char st1[13],st2[13];/* 13 because a filename cannot have more than name
of 8 charecters and 3 for extention and 1 for null value*/
cout<<" input the source filename ";
cin>>st1;
cout<<" enter the target file name ";
cin>>st2;
file1.open(st1,ios::in);
file2.open(st2,ios::out|ios::app);
char ch;
while(file1)
file1.get(ch);
file2< } file1.close(); file2.close(); }
}
file1.close();
file2.close();
By pressing ‘6’ (i.e. key’6’ one time) on the keypad, the mobile shows ‘m’ on display screen in write text message area .
Which one would you prefer - a macro or a function? Actually it depends on the purpose of program! - In case of macros, corresponding code is inserted directly into your sou
the issue of oil spills
I Want a answer for solving the big M method in the topic of simplex method...
A body which has three forces acting on it is in equilibrium. One force is 3N to the North and the other is 4N to the west. What us the magnitude and direction of the third force?
Define Advantages of Multi File Program? The main merits of spreading a program across several files are: • Teams of programmers able to work on programs. Every programmer w
Static Member Functions All the objects of the class share static data members of a class. The example above demonstrates how to keep track of all the objects of a class which
Default argument: When the argument is missing then the function will read the default value of the missing argument. To make use of default argument functionality the argu
A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome
Explain the Defination and Declaration of Union? Generally in terms the composition of a union may be defined as be as union tag { member 1; member 2; member m; }; Wh
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