Skip to content

Mileter/Random-Applications-for-the-Terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Random-Applications-for-the-Terminal

Just many random programs in C and C++.

Compilation

Make sure to have PDcurses or Ncursesw installed.

Windows (and other PDcurses targets)

Compile PDcurses with WIDE and UTF8 off.

g++ -Wall -static -O2 -Ipath\to\PDCurses\ -Ipath\to\PDCurses\platformSpecificFolder prog.cpp -o .\prog.exe -s path\to\PDCurses\platformSpecificFolder\pdcurses.a

Replace the path to PDCurses with actual path and "platformSpecificFolder" with your actual system, then replace prog.cpp with the program you want to compile, after that change prog.exe with whatever your binary should be. Finally, run the command.

Ncursesw Special Instructions

Be sure to change

#include <curses>

to

#include <ncursesw/curses.h>

when compiling with Ncursesw.

About

Just many random programs in C and C++.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages