Exhaustive list of SPDX (Software Package Data Exchange) licenses: https://spdx.org/licenses/
This file contains hidden or 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
| /* file: "tinyc.c" */ | |
| /* originally from http://www.iro.umontreal.ca/~felipe/IFT2030-Automne2002/Complements/tinyc.c */ | |
| /* Copyright (C) 2001 by Marc Feeley, All Rights Reserved. */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| /* |
This file contains hidden or 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
| #include <SDL2/SDL.h> | |
| #include <SDL2/SDL_syswm.h> | |
| #include <bgfx/bgfx.h> | |
| #include <bgfx/platform.h> | |
| #include <bx/bx.h> | |
| #include <bx/mutex.h> | |
| #include <bx/thread.h> | |
| void threadInit() | |
| { |
This file contains hidden or 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
| /** | |
| * Simple SDL2 program using OpenGL as rendering pipeline. | |
| */ | |
| #include <iostream> | |
| #include <SDL2/SDL.h> | |
| #include <SDL2/SDL_opengl.h> | |
| #include <OpenGL/GLU.h> | |
| #define SCREEN_WIDTH 640 |
This file contains hidden or 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 each result of find call our script to run on the filename | |
| $ find . -name "*.md" -print0 | xargs -0 -I file ./prepend.sh file |
This file contains hidden or 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
| /** | |
| * Simple OpenGL with SFML. | |
| * | |
| * Build: g++ -o simple_opengl_sfml simple_opengl_sfml.cpp -lsfml-window -lsfml-system -lGL | |
| */ | |
| #include <SFML/Window.hpp> | |
| #include <SFML/OpenGL.hpp> | |
| #define WINDOW_WIDTH 640 |
This article has been updated and is available here.
NewerOlder