nogcio 0.1.0
Provides basic writeln-like functionality without the GC.
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
nogcio
An @nogc alternative for std.stdio. It uses C I/O functions, but gives functionality similar to writeln, etc. Inspired by https://gist.github.com/krshock/9c24429c31663179d60dc52228ec80e8.
Usage
setlocale(LC_CTYPE, ""); //Makes sure the characters are printed correctly.
println("Hello world", 10, 3.14159); //Prints "Hello world 10 3.14159" to stdout and appends a newline character.
wprintln("Goodbye world", 42, 2.71828); //Prints "Goodbye world 42 2.71828" to stdout in dchar form and appends a newline character.
- Registered by null
- 0.1.0 released 2 years ago
- repr-man/nogcio
- BSD 3-clause
- Dependencies:
- none
- Versions:
-
0.1.0 2020-Jun-20 ~master 2020-Jun-20 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
12 downloads total
-
- Score:
- 0.0
- Short URL:
- nogcio.dub.pm