Skip to content

Commit 2765853

Browse files
committed
Adding README
1 parent aebb13d commit 2765853

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# cppure
2+
## A basic profanity filter written in C++
3+
4+
### Include the header file and compile `cppure.cpp`
5+
6+
```
7+
#include "cppure.h"
8+
```
9+
10+
### Load a wordlist
11+
12+
```
13+
cppure::load_wordlist("wordlist.txt");
14+
```
15+
16+
### Cleanse a string
17+
18+
```
19+
auto cleansed = cppure::cleanse("badword");
20+
```

0 commit comments

Comments
 (0)