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();
What is the specialty in sizeof() operator
write a program to calculate the cuboid
Object Oriented Programming Paradigm: For OOP, Paradigm is a standard set. The OOP will help to develop software in modules, which will be integrated later as a full packag
Program for Hangman Problem #include #include #include #include #include static void playGame(); static void printMistakes(int n); st
i need short program
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("studen
Calculate the area of a rectangle
Write a C# program to compute the Net Pay for employees. The program is to have a Main method and two user-defined methods. The Main method is to input the employee's name (string)
b) The static keyword let a variable to maintain its value among distinct function calls. If the value of a static variable alters while the variable has been accessed, variable
Suppose we use Lists to represent a movie which has a title, cast and year. For example, the following list represents the movie, "Die Hardly", with the cast "Bruce Willing" and "T
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