This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if defined(_MSC_VER) | |
#pragma comment(lib, "user32.lib") | |
#pragma comment(lib, "gdi32.lib") | |
#endif | |
#define WIN32_LEAN_AND_MEAN | |
#include <Windows.h> | |
#include <stdio.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For custom types struct ostrz containing [256]char array is used, which is returned from overloaded print functions. | |
// DLANG | |
module nogc_print; | |
import core.stdc.stdio; | |
/* | |
@nogc | |
void main() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Aa Hi Jaiye | |
Aa Jaane Ja (The Baby Can You Feel The Magic Mix).mp3 | |
Aaa Eee Ooo | |
Aaila Re | |
Aaine Ke Sau Tukde Kar Ke Humne Dekhe Hai | |
Aaj Kal Tere Mere Pyar Ke Charche | |
Aaj Meri Zindagi | |
Aanan Faanan | |
Aap Jaisa Koi Meri Zindagi Mein Aaye - Nazia | |
Aap Ki Kashish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if defined(_MSC_VER) | |
#pragma comment(lib, "user32.lib") | |
#pragma comment(lib, "gdi32.lib") | |
#endif | |
#define WIN32_LEAN_AND_MEAN | |
#include <Windows.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if defined(_MSC_VER) | |
#pragma comment(lib, "user32.lib") | |
#pragma comment(lib, "gdi32.lib") | |
#endif | |
#define WIN32_LEAN_AND_MEAN | |
#include <Windows.h> | |
#include <stdio.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//---------------------- | |
// Gaffer On Games | |
// https://gafferongames.com/post/fix_your_timestep/ | |
//---------------------- | |
// Fixed delta time | |
// If delta time match the display refresh rate, and you can ensure that your update loop takes less than one frame worth of real time. | |
double t = 0.0; | |
double dt = 1.0 / 60.0; | |
while (!quit) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{$mode objfpc} // directive to be used for defining classes | |
{$m+} // directive to be used for using constructor | |
//{$static on} | |
(* | |
{$MODE OBJFPC} //directive to be used for creating classes | |
{$M+} //directive that allows class constructors and destructors | |
*) | |
program HelloWorld; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <d3d11.h> | |
#include <d3d11_4.h> | |
//#include <dxgi.h> | |
//#include <dxgi1_6.h> | |
#pragma comment(lib, "d3d11.lib") | |
#pragma comment(lib, "dxgi.lib") | |
#pragma comment(lib, "dxguid.lib") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
जो सो रहा हो उसे तो जगा सकते हैं, लेकिन जो आँखे मूँद कर सोने का अभिनय कर रहा हो उसे कैसे जगाएंगे | | |
(A person who is sleeping can be woke up, but how to awaken one who is acting of sleeping by closing his eyes.) |