Skip to content

Instantly share code, notes, and snippets.

View LusainKim's full-sized avatar

Lusain_Kim LusainKim

View GitHub Profile
@LusainKim
LusainKim / LusDef.cpp
Last active August 29, 2015 14:28
LusDef
#include <Windows.h>
#include "LusDef.h"
////////////////////////////////////////////////
//
void DrawLineBox(HDC mainDC, RECT rc,
COLORREF main_RGB, COLORREF Line_RGB, int LineLen, bool Type)
{
@LusainKim
LusainKim / quiz.cpp
Last active August 29, 2015 14:25
quiz_0726
#include <iostream>
using namespace std;
int CalcAreaNum(bool **arrStage, int M, int N, int* l_m = nullptr, int* l_n = nullptr)
{
int AreaNum = 0;
bool **_arrStage = new bool*[M];
// malloc
@LusainKim
LusainKim / maze.cpp
Last active August 29, 2015 14:23
LusMaze
#include <iostream>
#include <algorithm>
#include <iterator>
#include <Windows.h>
#include <vector>
using namespace std;
#define MazeSize 16
@LusainKim
LusainKim / STL10min.cpp
Last active August 29, 2015 14:22
Study_STL
#include <iostream>
#include <string>
#include <vector>
using namespace std;
class Monster{
private:
string m_strName;
int m_iHP;
public:
#include<iostream>
using namespace std;
/*
input한 년도의
13일의 금요일이 포함된 월을 찾아라!
조건 : 가장 짧은 코드
1900년 1월 1일 : 월
*/
int main(){
int year(0), first_day(0), now_month(0);