import std.stdio; extern (System) { int init_video(bool doublebuf, bool fullscreen); void putpixel(uint x, uint y, char R, char G, char B); } int main(string[] args) { if (!init_video(true, false)) return -1; for (int i = 0; i < 100; ++i) putpixel(100, i, 255, 100, 100); readln(); return 0; }