A simple C++ SDL program, which allows you to type
Go to file
Maxwell Jeffress 933e7442f2 Add readme
2024-12-21 16:17:28 +11:00
resources Initial commit 2024-12-21 16:09:26 +11:00
src Initial commit 2024-12-21 16:09:26 +11:00
.gitignore Initial commit 2024-12-21 16:09:26 +11:00
CMakeLists.txt Initial commit 2024-12-21 16:09:26 +11:00
README.md Add readme 2024-12-21 16:17:28 +11:00

SDL Text Input

What this does

This program allows you to type into a window. Nothing more, nothing less.

Why?

I started learning C++ and SDL for fun.

How do I run it?

First, install a C++ compiler (like g++ from gcc), SDL2, SDL2_ttf, make and cmake.

On Arch Linux, run this command to install everything:

sudo pacman -S gcc sdl2 sdl2_ttf make cmake

Next, run:

mkdir build && cd build
cmake ..
make && ./program

Credits

SDL

The graphics library I used. Very easy and fun to learn!

IBM Plex Mono

The font included in the repository. Probably my favourite monospace font.