online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
/*************************************************************** * Name: Rafael Orta * Course: Computer Science & Programming * Class: CS04225 Section: 4 * Assignment Date: 04/05/21 * File Name: Encryption.cpp ***************************************************************** * Purpose: Demonstrate the encryption of a character by hashing the * values of it. *****************************************************************/ #include <stdio.h> #include <iostream> #include <cstring> using namespace std; int main() { char x[1] = {'W'}; cout << "The original character is: " << x[0] << endl; x[0] = int(x[0]+5); cout << "The hashed character is: " << x[0] << endl; x[0] = int(x[0]-5); cout << "The unhashed character is: " << x[0]<< endl; return 0; }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue