Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

NEED HELP ASAP C++ Caesar Cipher I'm in need of a C++ code program which encrypts and decrypts using the CAESAR CIPHER please help Please

NEED HELP ASAP C++ Caesar Cipher
I'm in need of a C++ code program which encrypts and decrypts using the CAESAR CIPHER please help
Please leave comments within the code for reference. I want to learn but I need a good grade. Look at the images provided. image text in transcribed
image text in transcribed
image text in transcribed
/mimirplatform.production/ files/33ecdf/1-fce8-4812-a994-b2b17b32ede3/Readme.pdf HomelCheggcom iakai@UW : My w0 ileyPLUS Home / e 00-intro mswgBookshelf Online Lib Getting Started . Get into your Docker development environment and change into the data directory . Download the lab framework with git clone https://gi thub. com/cac211/laba . Type cd lab3 followed by 1s . You will see this Readme.nd along with a C++ source file (caesar.cpp) and a compile script compile a longer one called shakespeare.txt executable program called caesar. However, it won't do anything yet! . You will also see two input files: one very short one called short.txt and . You can now compile the lab by typing ./compile and it will produce an Requirements . I have provided an empty main() function. . I have also provided function declarations char encrypt (char, int) and char decrypt (char, int). . You must write the implementation of encryptO and decrypt(), as well as handling command-line arguments and file I/O. . Your program must take exactly four command-line arguments. . The first is a string, either "-e"or" indicating whether to call encrypt or decrypt O respectively . The second is a mumber representing the key to be used for the encryption or decryption, so you'll need to use atoi) to turn it into an integer . The third is a filename to read from. . The fourth is a filename to write to. . Your program must read from the first file, determine whether to encrypt or decrypt the input, and write it out to the second file DOLL

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Building Database Driven Catalogs

Authors: Sherif Danish

1st Edition

0070153078, 978-0070153073

More Books

Students also viewed these Databases questions

Question

What is Larmors formula? Explain with a suitable example.

Answered: 1 week ago