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();
I have a very confusing assignment and I''m struggling to find the right place to begin or how to break the problem down.
Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send
reocord of a student and a function ctotal to calculate the marks of any three subject by using ctotal() function
Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b
Normal 0 false false false EN-IN X-NONE X-NONE MicrosoftInternetExplorer4
There are ''n'' ants on a ''n+1'' length rod. The ants are numbered from 1 to n and are initially placed at positions starting from position 1 till position n. They are moving eith
The Shortest Job Next (SJN) algorithm queues processes in a way that the ones that use the shortest CPU cycle will be selected for running rst. Shortest remaining time rst algori
pebblemerchant
What is the purpose of return values? Can you not return any values from a function? If you could what would he function look like?
Call by Reference Passing variables(parameters) to a function in C can be done in two ways - pass by value, also called as call by value and pass by address or also known as ca
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