- 実行ツール
-
学ぶ
Pythonを学ぶ 実行可能な例、NumPy、pandasなど AIを学ぶニューラルネット・機械学習・LLM をゼロから C/C++を学ぶ ポインタ、メモリ、STL、モダンC++ C#を学ぶC# 基礎、OOP、LINQ、async、.NET 演習 Matplotlibを学ぶ折れ線・棒・散布図・円グラフをインタラクティブに Rust を学ぶ所有権、トレイト、エラー処理、スレッド Go を学ぶスライス、インターフェース、goroutine、チャネル 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.