Skip to content
Snippets Groups Projects
Commit 0c2e3ae2 authored by Vanshika Mohan Bongade's avatar Vanshika Mohan Bongade
Browse files

Upload New File

parent 9554a2e6
Branches
No related tags found
No related merge requests found
# CS503 Week 3 Assignment: Text Line Processor in C
## Overview
This project implements a simple **Text Line Processor** utility in C. The program allows users to perform various operations on input strings provided via the command line. It also includes an **extra credit** feature for word replacement.
---
## Features
The utility supports the following operations:
1. **Help (`-h`)**:
Prints usage instructions.
```bash
./stringfun -h
# Word Count (-c): Counts the number of words in the input string.
./stringfun -c "This is a test"
# Reverse String (-r): Reverses the input string in place.
./stringfun -r "This is a test"
# Word Print (-w): Prints each word and its length.
./stringfun -w "This is a test"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment