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();
Question 1 . Write a brief note on Aggregation Question 2 . Discuss briefly on constructors Question 3 . What are the important advantages of Inheritance? Question 4 .
asasas
It tells the compiler that a variable or a function exists, even if the compiler hasn't yet seen it in the file presently being compiled. This variable or function may be distinct
draw the flow chart to print the fibonacci series upto n th terms
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
Write a program to define a matrix: 1. Write a function that takes an integer and calculates and returns the factorial of the integer. The Factorial of a number "n" is compute
Program is to replace every occurrence of in a string: Program is to replace every occurrence of c1 in string with c2 and have function return the no. of replacement int re
For this program you will add and test 2 new member functions to the IntSLList class posted on the website. The two member functions are: insertByPosn(int el, int pos) Assuming t
Explain the Function Prototype? The Functions must be declared before they are used, ANSI C provides for the new function declaration syntax called as the function prototype,
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?
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