https://github.com/tmhsdigital/learn-c
Native Windows password generator with a modern Win32 GUI. Lets you generate multiple strong, customizable passwords at once, choose character sets (lowercase, uppercase, digits, symbols), and instantly copy results. Features color-coded strength indicator, tooltips, keyboard shortcuts, status bar, and remembers your last settings.
https://github.com/tmhsdigital/learn-c
c cmake educational-project make password-generator tutorial win32 win32-gui
Last synced: about 6 hours ago
JSON representation
Native Windows password generator with a modern Win32 GUI. Lets you generate multiple strong, customizable passwords at once, choose character sets (lowercase, uppercase, digits, symbols), and instantly copy results. Features color-coded strength indicator, tooltips, keyboard shortcuts, status bar, and remembers your last settings.
- Host: GitHub
- URL: https://github.com/tmhsdigital/learn-c
- Owner: TMHSDigital
- License: apache-2.0
- Created: 2025-05-16T17:30:20.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-16T18:59:23.000Z (about 1 year ago)
- Last Synced: 2025-10-08T21:36:49.960Z (9 months ago)
- Topics: c, cmake, educational-project, make, password-generator, tutorial, win32, win32-gui
- Language: C
- Homepage:
- Size: 37.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Learn-C: Modern Password Generator
[](https://github.com/TMHSDigital/Learn-C)
[](LICENSE)
[](#)
---
> **Why use this?**
>
> - **Blazing fast** native Windows app
> - **No dependencies** (just GCC/MinGW)
> - **Modern, polished GUI**
> - **Strong, customizable passwords**
> - **Great demo for C/Win32 GUI programming**
---
## Prerequisites
- **GCC/MinGW**: Install [MinGW-w64](https://www.mingw-w64.org/) and add its `bin` directory to your PATH
- **make** (optional): For Makefile support, install make (e.g., from ezwinports, MSYS2, or GnuWin32) and add to PATH
- **comctl32.dll**: Standard on Windows, but you must link with `-lcomctl32`
- **Icon conversion tool**: Convert `C-icon.jpg` to `C-icon.ico` (any free online converter)
- **Windows 10+** recommended
---
## Features
- Native Windows GUI (Win32 API)
- Modern Segoe UI font and grouped layout
- Custom app icon (`C-icon.ico`)
- Tooltips for all controls
- Keyboard shortcuts
- Copy to clipboard
- Password strength indicator (color-coded)
- Select which character sets to include
- Generate multiple passwords at once
- Remembers last settings
- Window centers on startup
- About dialog (F1)
- Status bar for feedback
---
## Keyboard Shortcuts
| Shortcut | Action |
|-----------|-------------------------|
| Enter | Generate password(s) |
| Ctrl+C | Copy passwords |
| F1 | About dialog |
---
## How to Build
1. **Convert your icon:**
- Convert `C-icon.jpg` to `C-icon.ico` (use any free online converter)
- Place `C-icon.ico` in the project directory
2. **Build with GCC (MinGW):**
```
gcc main.c -o learn.exe -mwindows -lcomctl32
```
3. **Run:**
```
learn.exe
```
---
## Usage
- Set password length and count
- Select which character sets to include
- Click **Generate** or press **Enter**
- Copy results with **Copy** button or **Ctrl+C**
- See password strength below output
- Status bar shows feedback
- Press **F1** for About dialog
- Settings are saved automatically
---
## Screenshots
Default view
After generating a password

---
_Created by [TMHSDigital](https://github.com/TMHSDigital)_