- 실행기
-
학습
Python 배우기 실행 가능한 예제, NumPy, pandas 등 AI 배우기신경망, 머신러닝, LLM을 처음부터 C/C++ 배우기 포인터, 메모리, STL, 모던 C++ C# 배우기C# 기초, OOP, LINQ, async 및 .NET 연습 Matplotlib 배우기선, 막대, 산점도, 원 그래프를 시각화 도구와 함께 Rust 배우기소유권, 트레이트, 오류 처리, 스레드 Go 배우기슬라이스, 인터페이스, 고루틴, 채널 Python 알고리즘 검색, 정렬, 재귀와 시각화 도구 O(n) C/C++ 알고리즘 C와 C++ 구현 비교 어린이 코딩 놀면서 코딩을 배워요!
- 문제NEW
- 교사용NEW
- 업데이트
- 커피 한 잔 사 주기
구조체와 인터페이스
구조체, 메서드, 포인터, 인터페이스, 임베딩, 오류, 제네릭.
- 레슨 챌린지 1개 Structs Group related values into your own type with named fields.
- 레슨 챌린지 2개 Methods and Receivers Attach functions to a type and choose between value and pointer receivers.
- 레슨 챌린지 2개 Pointers Use & and * to share a value instead of copying it.
- 레슨 챌린지 2개 Interfaces Describe behavior with an interface that any type can satisfy.
- 레슨 챌린지 2개 Struct Embedding and Composition Reuse fields and methods by embedding one struct in another.
- 레슨 챌린지 1개 Temperature Converter Convert between Celsius and Fahrenheit with your own number types.
- 레슨 챌린지 2개 Error Handling Return errors as values, wrap them with context and check them with errors.Is and errors.As.
- 레슨 챌린지 1개 Bank Account with Errors Model deposits and withdrawals that can fail with your own error types.
- 레슨 챌린지 1개 Generics Write one function or type that works with many types using type parameters.