Orthodox C++ (sometimes referred as C+) is minimal subset of C++ that improves C, but avoids all unnecessary things from so called Modern C++. It's exactly opposite of what Modern C++ suppose to be.
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
#include <iostream> | |
int main() | |
{ | |
std::cout << "Hello world!" << std::endl; | |
return 0; | |
} |
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
#ifdef _WIN32 | |
#include <windows.h> | |
#include <GL/gl.h> | |
#define GL_CALL APIENTRY | |
#else | |
#include "GL/gl.h" | |
#define GL_CALL | |
#endif//_WIN32 | |
// This loader code is inspired by Bink GL extension loader |
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
#define GLE(ret, name, ...) name##Func* gl##name; | |
GL_LIST | |
#undef GLE | |
b32 gl_load_extensions() | |
{ | |
b32 result = false; | |
if (SDL_GL_LoadLibrary(nullptr) != 0) | |
{ |
질문 목록
- 겨울 프로그램
- 비용
- 총 비용이 얼마나 예상되는가?
- 혹시 절감 계획은 있는지?
- 시기
- 1월 2째주부터 6주동안
- 가을학기 복학예정인 학생도 가능
- 비용
- 내용
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
#include <cstdio> | |
#include <vector> | |
#include <string> | |
#include <climits> | |
#include <tuple> | |
#include <cstring> | |
using namespace std; | |
struct Expression |
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
#Requires -RunAsAdministrator | |
function wait_input_before_exit() | |
{ | |
if ($Host.Name -eq "ConsoleHost") | |
{ | |
Write-Host "Press any key to continue...." | |
$Host.UI.RawUI.FlushInputBuffer() # Make sure buffered input doesn't "press a key" and skip the ReadKey(). | |
$Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyUp") > $null | |
} |
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
struct VertexIn | |
{ | |
float3 pos : POSITION; | |
float4 color : COLOR; | |
float3 normal : TEXCOORD; | |
}; | |
struct VertexOut | |
{ | |
float4 pos : SV_POSITION; |
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
import urllib.request | |
from zipfile import ZipFile | |
import os | |
import subprocess | |
# Download archived TF repo | |
print('Downloading The Forge...') | |
url = 'https://github.com/ConfettiFX/The-Forge/archive/master.zip' | |
forge_zip_path = './forge.zip' |
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
local workspace_name = "SampleWorkspace" | |
local project_name = "SampleProject" | |
workspace(workspace_name) | |
configurations {"DebugDx"} | |
project(project_name) | |
kind "WindowedApp" | |
language "C++" | |
targetdir "bin/%{cfg.architecture}/%{cfg.buildcfg}" |
OlderNewer