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
# Build a Visual Studio C++ project | |
# VS2022 Community, x64, release | |
# Check that a path to a .vcxproj file was provided | |
if ($args.Length -eq 0) { | |
Write-Output "No project file specified" | |
exit 1 | |
} | |
# Set the path to the .vcxproj file |
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
🌞 Morning 20 commits █▋░░░░░░░░░░░░░░░░░░░ 7.8% | |
🌆 Daytime 68 commits █████▌░░░░░░░░░░░░░░░ 26.7% | |
🌃 Evening 126 commits ██████████▍░░░░░░░░░░ 49.4% | |
🌙 Night 41 commits ███▍░░░░░░░░░░░░░░░░░ 16.1% |
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
<!DOCTYPE html> | |
<html lang="ko"> | |
<head> | |
<meta charset="UTF-8"> | |
</head> | |
<body> | |
<canvas id="canvas" width="750" height="750" style="border:1px solid lightgrey;"></canvas> | |
<script> |
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> | |
#include <string> | |
using namespace std; | |
// * REFERENCE LINK : https://stackoverflow.com/questions/1666802/is-there-a-class-macro-in-c | |
static inline std::string className(const std::string& prettyFunction) | |
{ | |
size_t colons = prettyFunction.find("::"); | |
if ( colons == std::string::npos ) |
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
// stl의 conditional, conditional_type을 현재 사용중인 컨벤션에 맞춰 이름만 수정한 버전임. | |
#pragma once | |
// Struct template conditional | |
// - type is | |
// - 1. Type_1 for Expression | |
// - 2. Type_2 for assumed !Expression | |
template<bool Expression, class Type_1, class Type_2> | |
struct TConditional | |
{ |
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 "DeltaTime.hpp" | |
Timer::Time Timer::s_MainTimer = Timer::Time(); |
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
// Reference.h | |
#ifndef __REFERENCE_H__ | |
#define __REFERENCE_H__ | |
class Reference | |
{ | |
template<typename T> | |
friend class shared_ptr; | |
protected: |
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 _QUOTE(x) #x | |
#define QUOTE(x) _QUOTE(x) | |
#define _MUST_TODO(msg) static_assert(false, QUOTE(msg)); | |
#define MUST_TODO(msg) static_assert(false, msg); | |
// example | |
MUST_TODO("JUST DO IT !!"); | |
void Foo() | |
{ |
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 <cassert> | |
#define assert_false assert(false) | |
#define STATIC_TODO static_assert(false, "TODO") | |
#ifndef C_PLUS_PLUS_VERSION | |
#define C_11_UNDER 199711L | |
#define C_11_AFTER 201103L | |
#define C_14_AFTER 201402L | |
#define C_17_AFTER 201703L |
NewerOlder