일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
- SNS
- Project
- 사물인터넷
- 백준
- java정리
- 자바
- 코딩
- 주가예측
- 개발
- 프로그래머스
- 코딩테스트
- 개인프로젝트
- 자바독학
- 코스닥
- 프로그래밍
- backend
- 프로그램
- Python
- Reflex
- java
- 코딩독학
- 개발자
- 모의 주식
- 풀스택프레임워크
- 자바정리
- 코테
- 이웃한 칸
- 빅데이터
- frontend
- C++
- Today
- Total
목록혼자 만든 Code (13)
Creative Code
#define _CRT_SECURE_NO_WARNINGS #include class Date { int year_; int month_; // 1부터 12까지. int day_; // 1 부터 31까지. public: void SetDate(int year, int month, int date) { year_ = year; month_ = month; day_ = date; } void AddDay(int inc) { int regular_year[13] = { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 }; int inregular_year[13] = { 0, 31, 60, 91, 121 ,152 , 182, 213, 244, 274, 30..
#include #include #include #define UP 0 #define DOWN 1 #define LEFT 2 #define RIGHT 3 #define SUBMIT 4 //선택(스페이스바) void init(); //콘솔창 크기 설정함수 void gotoxy(int x, int y); //커서이동함수 void titleDraw(); //게임 시작 타이틀화면 출력함수 int keyControl(); //키 입력받는 함수 int menuSelect(); //게임 메뉴 선택함수 void gameInfo(); //게임 정보출력함수 int mapDifficulty(); //게임 난이도 설정함수 void difficultyEasy(); //난이도 EASY 게임실행 함수 void printMap();..
package Programmers; //Tv리모컨 프로그램 import java.util.Scanner; class Tv { public static int status_chennel = 1; public static int status_volume = 10; public static boolean volume0 = false; public void status_print() { System.out.println(String.format("현재 채널은 %d번 입니다.",this.status_chennel)); System.out.println(String.format("현재 음량은 %d 입니다.",this.status_volume)); if (this.volume0) { System.out.printl..
package Programmers; //외계행성의 데이터를 입력받아 생명체가 거주가능한 행성인지 판단하는 프로그램 import java.util.Scanner; import java.util.ArrayList; class Extra_planet{ String name; ArrayList info; //0 : 행성이름 , 1 : 행성 질량 , 2: 행성 이심률 , 3: 행성 장반경 ,4 :자전주기 ,5: 공전주기 , 6: 모항성 광도, 7,:모항성 광구온도 ArrayListresult = new ArrayList(); double long_distance; double short_distance; Extra_planet(String planet, ArrayListplanet_info) { this.nam..
package Programmers; // 로그인,회원가입 프로그램 import java.util.Scanner; import java.util.HashMap; class Login { HashMapinfo = new HashMap(); private boolean log_Check = false; public String input() { Scanner sc = new Scanner(System.in); return sc.nextLine(); } public void system(int select) { switch (select) { case 1: System.out.println(); String newID; while (true) { System.out.println("아이디 입력 : "); ne..
#include #include #include #include #include using namespace std; int main() { int buy = 0; //주식 구매수량 long long buy_price = 0; // 구매한 주식의 가치 long long sum; //현금보유량 + 주식의가치(총가치) srand((unsigned int)time(NULL)); cout > Money; long long save = Money; bool check = false; cout > before_price; sum = Money + (long long)buy * (long long)(buy_price); cout