EECS 183 Labs

Mini Atbash Cipher: Visual Studio 2026 Community Setup

1. Create a New Project

  1. Open Visual Studio 2026 Community.
  2. Select Create a new project.
  3. Choose Console App (C++).
  4. Name the project (for example, MiniAtbashLab).
  5. Click Create.

2. Remove Unneeded Default File

  1. Delete the Visual Studio-generated default main.cpp.

3. Add Required Files

Create these files in Visual Studio (recommended, you must have at least two .cpp files and one header file):

Use right-click (or two-finger tap) on the project name:

Then select .cpp or .h and edit the file name.

4. Add Includes and Declarations

Your cpp files will need #include and other statements in addition to your functions. Your header file(s) will also need other statements in addition to your declaration(s).

Refer to zyBooks section 9.2 for what to add to your .cpp and .h or .hpp files.

You can also refer to the starter files for Projects 3 or 4 for examples.

5. Implement Required Behavior

  1. In main.cpp, print a short greeting message.
  2. Prompt the user for a message.
  3. Check if the message has at least one alphabetic character.
  4. If not, print: Error: message must contain at least one alphabetical character.
  5. Otherwise call your Atbash cipher function and print the encoded message.

6. Check your Program

  1. Replicate the Sample Runs
  2. Check your program output against the expected output in each sample run.
  3. If any are different, debug and edit your solution until each sample run is the same.

7. Required Submission Check

Before submission, confirm your project contains: