You could just pipe the input through the program tac
, which is like cat
but backwards!
More Related Contents:
- Procedure to include own functions to ANSI C Standard library
- Which functions from the standard library must (should) be avoided?
- Case Insensitive String Comparison in C
- Reading the whole text file into a char array in C
- Difference between fprintf, printf and sprintf?
- “Unresolved inclusion” error with Eclipse CDT for C standard library headers
- Read from file or stdin
- What is the purpose of the div() library function?
- ReadAllLines for a Stream object?
- How can one flush input stream in C?
- Difference between C standard library and C POSIX library
- Convert double * to double [9] in C [closed]
- I need help understanding this code in C [closed]
- C Programming Rock-Paper-Scissors Not Working [duplicate]
- srand() — why call it only once?
- Is an array name a pointer?
- Observing stale instruction fetching on x86 with self-modifying code
- Are prototypes required for all functions in C89, C90 or C99?
- Differ between header and content of http server response (sockets)
- An example of use of varargs in C
- Kill Thread in Pthread Library
- C, reading from file into structure
- Installing OpenMP on Mac OS X 10.11
- C late binding with unknown arguments
- Why do I get a warning every time I use malloc?
- Size of stack and heap memory [duplicate]
- sizeof single struct member in C
- Can’t step into string.h function with GDB
- Strange RAW Socket on Mac OS X
- Function pointer as an argument