Thanks to visit codestin.com
Credit goes to github.com

Skip to content

A simple calculator app built using Zig, SDL2 and SDL2_ttf

License

Notifications You must be signed in to change notification settings

AbhijitDeyDev/zig-calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zig Calc Project

Version: 0.4.0

Overview

This project is developed using the Zig programming language and SDL2 library and it's my pet project to learn about Zig and SDL2.

I am using ikskuh's SDL.zig library.

Currently only tested on Windows 11 and Linux (with SDL2 installed).

Preview

Features

  • VERY basic calculator features
  • Keyboard support
  • Dark mode 😁
  • I don't know, just test it

Build Instructions

Make sure Zig (v0.15+) is installed,

Windows

First download Mingw versions of both SDL2 and SDL2_ttf.

Copy /bin, /include and /lib folders inside <project_folder>/SDL2 folder.

Linux

Just install SDL2 and SDL2_ttf using your package manager.

Run the following command to build and run the project:

zig build run

Dependencies

  • Zig (v0.15.0 or above)
  • SDL2
  • SDL2_ttf

License

This project is licensed under the MIT License.

Contributing

Feel free to fork, contribute, and improve the project!

About

A simple calculator app built using Zig, SDL2 and SDL2_ttf

Topics

Resources

License

Stars

Watchers

Forks

Languages