Skip to content

A C program (in C89 dialect) that reads standard input and prints the reverse to standard output (version 1.2, released 9 March 2019)

License

Notifications You must be signed in to change notification settings

richardcavell/reverse-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reverse-c
A program by Richard Cavell
https://github.com/richardcavell/reverse-c
(c) 2017-2019
Version 1.2 (9 March 2019)

This is a simple program written in standard C, dialect C89.  It reads
in the standard input, and prints the byte-for-byte reverse of it on the
standard output.  It can be used on any type of data. It is good for
reversing text input, as long as you are not using "wide characters".

The program should compile on any operating system or type of machine. It
relies only on the standard library. You can use GNU make to compile simply
by typing "make".

This program exists to demonstrate the algorithms used.  You are welcome to
study the source code and the algorithms.

My thanks to the wizards on the [c-prog] mailing list on Yahoo! Groups, and
kate from IRC, for their feedback.

This project is complete. It is actively maintained by me. The last review
occurred in April 2019.

Richard Cavell

About

A C program (in C89 dialect) that reads standard input and prints the reverse to standard output (version 1.2, released 9 March 2019)

Topics

Resources

License

Stars

Watchers

Forks

Packages