From fdd78dfa58623b1cedd0b9cd08f9781c785c4fc6 Mon Sep 17 00:00:00 2001 From: imnyang Date: Thu, 19 Mar 2026 12:34:12 +0900 Subject: [PATCH] wow --- 02/02_47p.c | 23 +++++++++++++++++++++++ zed.json | 44 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 02/02_47p.c create mode 100644 zed.json diff --git a/02/02_47p.c b/02/02_47p.c new file mode 100644 index 0000000..240f5f8 --- /dev/null +++ b/02/02_47p.c @@ -0,0 +1,23 @@ +#include + +int main() { + int a = 12345; + + // printf("(%d)\n", a); + // printf("(%10d)\n", a); + // printf("(%010d)\n", a); + // printf("(%-10d)\n", a); + + // double f = 123.45; + // printf("[%lf]\n", f); + // printf("[%15f]\n", f); + // printf("[%015f]\n", f); + + char str[8] = "Program"; + printf("[%s]\n", str); + printf("[%10s]\n", str); + printf("[%-10s]\n", str); + printf("[%-10.3s]\n", str); + + return 0; +} diff --git a/zed.json b/zed.json new file mode 100644 index 0000000..1edf502 --- /dev/null +++ b/zed.json @@ -0,0 +1,44 @@ +{ + "autosave": "on_focus_change", + "experimental.theme_overrides": { + // Light Kawaii Theme (HSL Based) + "background": "#FDF7F9", // --background: hsl(340, 40%, 98%) + "status_bar.background": "#FDF7F9", + "title_bar.background": "#FDF7F9", + "elevated_surface.background": "#FDF7F9", + "surface.background": "#FDF7F900", // 투명 유지 + "editor.line_number": "#A38F96", // --text-4: hsl(340, 10%, 60%) + // + "border": "#F2E6EA", // --sidebar-border: hsl(340, 20%, 90%) + "hint.background": "#F7EBEE", // --bg-3: hsl(340, 25%, 94%) + "editor.background": "#00000000", + "editor.active_line_number": "#191013", // --text-0: hsl(315, 21%, 8%) + "editor.gutter.background": "#00000000", + "tab_bar.background": "#00000000", + "terminal.background": "#00000000", + "toolbar.background": "#00000000", + "tab.active_background": "#8165701a", // --active: hsl(340, 12%, 45%, 0.16) + "element.selected": "#8165701a", + "tab.inactive_background": "#00000000", + "editor.indent_guide": "#F2E6EA", // --bg-4 + "editor.indent_guide_active": "#E6D5DB", // 좀 더 진한 가이드 + "panel.indent_guide": "#F2E6EA", + "panel.indent_guide_hover": "#E6D5DB", + "panel.indent_guide_active": "#D9C4CC", + "panel.background": "#00000000", + "panel.focused_border": "#00000000", + "element.active": "#81657029", // --active-2 + "border.variant": "#00000000", + "scrollbar.track.border": "#00000000", + "editor.active_line.background": "#8165700f", // --hover: 0.1 opacity + "scrollbar.track.background": "#00000000", + "scrollbar.thumb.background": "#A38F9680", // --scrollbar: 0.5 opacity + "ghost_element.background": "#00000000", + "element.hover": "#8165700f", // --hover + "ghost_element.hover": "#8165700f", + "ghost_element.active": "#8165701a", + "ghost_element.selected": "#81657024", // --background-modifier-selected + "drop_target.background": "#8165701a", + "editor.highlighted_line.background": "#8165701a" + } +}