File tree 1 file changed +19
-0
lines changed
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 5
5
6
6
This simple library enable to prompt users in interactive CLI apps for passwords without it being printed in the terminal.
7
7
8
+ Easily prompt your users for passwords on Windows, Linux or MacOS without having them revealed in the terminal
9
+
10
+
8
11
## Example
9
12
``` cpp
10
13
// $main.cpp
@@ -29,7 +32,23 @@ int main(int argc, char *argv[]) {
29
32
```
30
33
31
34
### 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
+ ```
32
50
51
+ Now finallly, Build
33
52
``` bash
34
53
g++ main.cpp -o main
35
54
```
You can’t perform that action at this time.
0 commit comments