subject

Write a c++ program to implement the encryption and decryption functions for such a scheme that will split the original file into two new files and vice versa. one of these two new files will containt all the characters in the original file in odd position and the other will contain all characters in the even position. for example, if the original file contained the text: hello world! then the 1st file would contain : hlowrd and the 2nd file would contain: el ol!

1st function:

void split(char sourcefile[ ], char destfile1[ ], char dest file2[ ]);

function should:

i. open sourcefile as an input file stream

ii. open destfile2 and destfile2 as output file streams

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 06:30, wwesuplexcity28
To become an audio technician, the most successful tactics might include the following. (select all that apply). learning how to persuade other people gaining different types of experience in audio technology learning as much as possible about art history establishing a reputation as a reliable professional
Answers: 1
image
Computers and Technology, 23.06.2019 09:30, nsjcbdhcb
Light travels at a speed of 186,000 miles a second. the distance light travels in a year is 5,865,690,000,000 miles/year 5,865,695,000,000 miles/year 58,656,950,000,000 miles/year 6,789,000,0000 miles/year
Answers: 1
image
Computers and Technology, 23.06.2019 11:30, leapfroggiez
Auser is given read permission to a file stored on an ntfs-formatted volume. the file is then copied to a folder on the same ntfs-formatted volume where the user has been given full control permission for that folder. when the user logs on to the computer holding the file and accesses its new location via a drive letter, what is the user's effective permission to the file? a. read b. full control c. no access d. modify e. none of the above
Answers: 1
image
Computers and Technology, 23.06.2019 15:00, herchellann302
To check whether your writing is clear , you can
Answers: 2
You know the right answer?
Write a c++ program to implement the encryption and decryption functions for such a scheme that will...

Questions in other subjects:

Konu
History, 07.10.2020 09:01
Konu
Mathematics, 07.10.2020 09:01