Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Any help with this C++ programming is appreciated!! In this assignment you will write a program that implement a Text-Encrypter-Decrypter, which will do the following
Any help with this C++ programming is appreciated!!
In this assignment you will write a program that implement a Text-Encrypter-Decrypter, which will do the following algorithms: 1. Read a text line from the "Input.txt" file as a string such as: "I love C++". 2. Parse the line into separated letters 3. Convert them into ASCII numbers 4. Change those ASCII numbers into binary numbers 5. Apply the 1st complement at those binary numbers 6. Reverse the resulting binary numbers of step 5. 7. Write them out to "Encrypted.txt" file. 8. Decrypt the text lines stored in "Encrypted.txt" file back to a text file called "Decrypted.txt". Example: Input file data Encrypted Text Comments Always has 8 bits Your application must read 01101101 space> pace and new line Screenshots: a. Input file: input.txt Love C++ I will study diligently Good morning Bilu Have a good day Bill b. Encrypted File enc.txt c. Decrypted File dec.txt I love C++ I will study diligently Good morning Bil Have a good day Bi1Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started