Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- SNS
- 프로그램
- 코딩테스트
- 이웃한 칸
- 개인프로젝트
- Reflex
- C++
- 모의 주식
- 자바정리
- 사물인터넷
- 코스닥
- backend
- 주가예측
- 자바
- 프로그래밍
- 자바독학
- 코딩독학
- 코테
- Project
- Python
- 프로그래머스
- 빅데이터
- 개발
- 개발자
- 코딩
- java
- java정리
- 풀스택프레임워크
- frontend
- 백준
Archives
- Today
- Total
목록코딩 study/C++ (3)
Creative Code
콘솔-(3)
#include #include #include using namespace std; // 16가지 ANSI 컬러를 열거형으로 정의 enum color16 { Black = 0, Blue, Green, Cyan, Red, Magenta, Brown, Lightgray, Darkgray, Lightblue, Lightgreen, Lightcyan, Lightred, Lightmagenta, Yellow, White }; // 콘솔 창 내의 커서 위치를 x, y 좌표로 이동하는 함수 정의 void gotoxy(int x, int y) { COORD pos = { x, y }; // COORD 구조체를 사용하여 커서 위치를 설정합니다. SetConsoleCursorPosition(GetStdHandle(STD..
코딩 study/C++
2023. 10. 9. 18:47
콘솔-(2)
#include #include #include using namespace std; // 콘솔 창 내의 커서 위치를 x, y 좌표로 이동하는 함수 정의 void gotoxy(int x, int y) { COORD pos = { x, y }; // COORD 구조체를 사용하여 커서 위치를 설정합니다. SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), pos); // 커서 위치를 변경합니다. } int main() { gotoxy(5, 10); // (5, 10) 위치로 커서 이동 cout
코딩 study/C++
2023. 10. 9. 18:17