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 <stdio.h> | |
#include <stdlib.h> | |
typedef struct{ | |
char name[20]; | |
char phone[30]; | |
char email[100]; | |
}phone; | |
void ReadPhone(char* path, phone *p) |
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
#define _CRT_SECURE_NO_WARNINGS | |
#include <stdio.h> | |
#include <stdlib.h> | |
#define CONTAIN_TYPE int | |
typedef struct { | |
int iSize; | |
CONTAIN_TYPE *iArr; | |
}Contain; |
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 <Windows.h> | |
#include <tchar.h> | |
#include <atlImage.h> | |
#include <iostream> | |
#include <functional> | |
using namespace std; |
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 <Windows.h> | |
#include <atlimage.h> | |
#include <tchar.h> | |
#include <iostream> | |
#include <vector> | |
#include <string> | |
#include <algorithm> | |
#include <fstream> |
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
///////////////////////////////////////////////////// | |
// consoleUtil.h | |
// 콘솔에서 사용함직한 함수들을 모아 정리해봤습니다. | |
///////////////////////////////////////////////////// | |
#pragma once | |
namespace ConsoleUtil { | |
// Windows.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 <windows.h> | |
#include <iostream> | |
#include <thread> | |
#include <memory> | |
#include <map> | |
#include <atomic> | |
using namespace std; | |
atomic_bool g_booleanVariable = false; |
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 <Windows.h> | |
#include <tchar.h> | |
// LoadString : 타이틀 이름과 윈도우 클래스 이름 길이. | |
#define MAX_LOADSTRING 100 | |
#define CLIENT_WIDTH 1200 // 클라이언트 너비 | |
#define CLIENT_HEIGHT 720 // 클라이언트 높이 |
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 <windows.h> | |
#include <iostream> | |
#include <string> | |
#include <fstream> | |
using namespace std; | |
#define USE_DEBUG_OUTPUT_TEXT | |
#if defined(USE_DEBUG_OUTPUT_TEXT) | |
ofstream fs; |
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 <windows.h> | |
#include <conio.h> | |
#include <iostream> | |
#include <vector> | |
#include <fstream> | |
#include <string> | |
using namespace std; |
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 <iostream> | |
#include <set> | |
#include <map> | |
#include <algorithm> | |
#include <vector> | |
#define JudgeInfinity (INT_MAX >> 1) | |
using namespace std; |