Skip to content

Commit 2995cfa

Browse files
committed
update readme
Signed-off-by: Muhammad Umer Farooq <[email protected]>
1 parent c18f7c2 commit 2995cfa

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

+19
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55

66
This simple library enable to prompt users in interactive CLI apps for passwords without it being printed in the terminal.
77

8+
Easily prompt your users for passwords on Windows, Linux or MacOS without having them revealed in the terminal
9+
10+
811
## Example
912
```cpp
1013
// $main.cpp
@@ -29,7 +32,23 @@ int main(int argc, char *argv[]) {
2932
```
3033
3134
### Build
35+
Install GNU GCC on Ubuntu
36+
```bash
37+
sudo apt update && sudo apt install build-essential
38+
```
39+
40+
Install GCC on MacOS
41+
```bash
42+
brew install gcc
43+
```
44+
Install MinGW GCC on Windows,
45+
- For windows you need to install Chocolatey first
46+
- Follow the link [https://chocolatey.org/install](https://chocolatey.org/install)
47+
```bash
48+
choco install mingw
49+
```
3250

51+
Now finallly, Build
3352
```bash
3453
g++ main.cpp -o main
3554
```

0 commit comments

Comments
 (0)