본문 바로가기

분류 전체보기696

C# 코드 컨벤션(Code convention) 코드 컨벤션(Code convention)은 개발자들 사이에서 약속된 코드 작성 규칙으로, 코드의 가독성을 높이고 유지 보수를 쉽게 하기 위해 사용됩니다. 코드 컨벤션은 프로그래밍 언어마다 다를 수 있습니다. 1. 식별자 표기법● PascalCase: 클래스, 메서드, 프로퍼티 이름 등에 사용됩니다. 단어의 첫 글자는 대문자로 시작하며, 이후 단어의 첫 글자도 대문자로 표기합니다. 예를 들어, ClassName, MethodName, PropertyName**과 같은 형태입니다.● camelCase: 변수, 매개변수, 로컬 변수 이름 등에 사용됩니다. 단어의 첫 글자는 소문자로 시작하며, 이후 단어의 첫 글자는 대문자로 표기합니다. 예를 들어, variableName, parameterName, **l.. 2025. 5. 21.
C# 변수 C#기본 자료형 자료형 .NET 데이타 타입 크기 (바이트)범위sbyteSystem.SByte1-128 ~ 127byteSystem.Byte10 ~ 255shortSystem.Int162-32,768 ~ 32,767ushortSystem.UInt1620 ~ 65,535intSystem.Int324-2,147,483,648 ~ 2,147,483,647uintSystem.UInt3240 ~ 4,294,967,295longSystem.Int648-9,223,372,036,854,775,808 ~ 9,223,372,036,854,775,807ulongSystem.UInt6480 ~ 18,446,744,073,709,551,615floatSystem.Single4±1.5 × 10^-45 ~ ±3.4 × 10^.. 2025. 5. 21.
Nest Js 설치 및 프로젝트 만들기 1. Node.js 설치https://nodejs.org/kohttps://nodejs.org/ko/downloadC:\Users\Users>node -v'node'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는배치 파일이 아닙니다.이 메시지는 Windows에서 node 명령어를 인식하지 못한다는 뜻입니다. 주로 Node.js가 설치되어 있지 않거나, 설치는 되어 있는데 환경 변수(PATH)에 등록되지 않은 경우 발생할 수 있어요.해결 방법:Node.js가 설치되어 있는지 확인하세요.시작 메뉴에서 'Node.js' 또는 'Node.js 설치' 찾아보거나, 공식 사이트에서 다운로드 및 설치하세요.환경 변수(PATH)에 Node.js가 등록되었는지 확인하세요.설치 시 자동으로 등록되지 않았다.. 2025. 5. 20.
TIL https://ashen99.tistory.com/836https://ashen99.tistory.com/838https://ashen99.tistory.com/835https://ashen99.tistory.com/834https://ashen99.tistory.com/840 TIL (Today I Learned) – 2025.05.19 1. Flutter 다이어리 위젯 (Diary Screen)📖 공부 내용 정리StatefulWidget + FutureBuilder일기 데이터를 _diaryListFuture에 저장하여 build() 시 불필요한 재요청 방지FutureBuilder로 로딩·오류·데이터 상태별 UI 분기스와이프 삭제 (Dismissible)리스트 항목을 좌→우 스와이프로 삭제커스.. 2025. 5. 19.
일정화면 만들기 1. 슬라이더 전체 적용하기더보기import 'dart:async';import 'package:flutter/material.dart';import 'package:table_calendar/table_calendar.dart';import 'package:intl/intl.dart' show DateFormat;import '../widgets/profile_menu_widget.dart';// 슬라이더와 빈 박스 배치하기// ScheduleListScreen()class ScheduleListScreen extends StatefulWidget { @override _ScheduleListScreenState createState() => _ScheduleListScreenState();}cla.. 2025. 5. 19.
json 파일을 .dart에 변수로 가져오기 .dart 파일에서 외부 JSON 파일(예: schedule_items_30.json)을 읽어 배열 변수(ListMapString, dynamic>>> schedule_item()) 로 가져오는 기본 방법.✅ 1. pubspec.yaml에 assets 등록flutter: assets: - assets/schedule_items_30.json🔸 assets/ 폴더에 schedule_items_30.json 파일을 넣어야 함. 경로가 다르면 수정하기.✅ 2. Dart 코드 작성 (예: load_schedule.dart)import 'dart:convert';import 'package:flutter/services.dart' show rootBundle;Future>> loadScheduleItem.. 2025. 5. 19.