Skip to content
Simple C program
C Perl
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
vendor/apr
.gitignore
Makefile
README.md
char.c
char.h
encode.c
error.h
source.c
source.h

README.md

encode.c

A simple C program to shift characters found in an input stream.

Usage

Basic usage:

echo 'hi there' | ./encode

Changing the number of characters to shift:

echo 'hi there' | ./encode -n2

Decoding a string:

echo 'ij uifsf' | ./encode -d

Reading from a file:

./encode -f input.txt

Building

All you need to do is run make from the root directory. You can run make check to ensure it's working properly.

You can’t perform that action at this time.