Skip to content

Instantly share code, notes, and snippets.

@uhmseohun
uhmseohun / math.cpp
Last active December 10, 2019 11:21
수학 평면좌표 단원
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
/** Error Messages **/
const char undefinedCmd[100] = "Undefined Command.";
void swap (int *a, int *b) {
int tmp = *a;
*a = *b;
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
/** Error Messages **/
const char undefinedCmd[100] = "Undefined Command.";
void swap (int *a, int *b) {
int tmp = *a;
*a = *b;
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
/** Error Messages **/
const char undefinedCmd[100] = "Undefined Command.";
void swap (int *a, int *b) {
int tmp = *a;
*a = *b;
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
/** Error Messages **/
const char undefinedCmd[100] = "Undefined Command.";
void swap (int *a, int *b) {
int tmp = *a;
*a = *b;
@uhmseohun
uhmseohun / print.css
Created July 18, 2019 22:44
io print
table, th, td, tr{
border-collapse: collapse;
border: 1px solid #c4c4c4;
}
.Ticket {
height: 100%;
width: 100%;
}
@uhmseohun
uhmseohun / io-test2-ymd.cpp
Created March 22, 2019 15:21
입출력 연산자 Test2 - 년월일 출력하기
#include <stdio.h>
int main() {
int year, month, day;
scanf("%d.%d.%d", &year, &month, &day);
printf("%04d년 %02d월 %02d일\n", year, month, day);
return 0;
}