エントリーの編集
![loading...](https://b.st-hatena.com/bdefb8944296a0957e54cebcfefc25c4dcff9f5f/images/v4/public/common/loading@2x.gif)
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント4件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
![アプリのスクリーンショット](https://b.st-hatena.com/bdefb8944296a0957e54cebcfefc25c4dcff9f5f/images/v4/public/entry/app-screenshot.png)
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
typedef structとstructの違い
日時: 2007/12/03 00:19:34 名前: AAL #include <stdio.h> #include <math.h> typedef struct { d... 日時: 2007/12/03 00:19:34 名前: AAL #include <stdio.h> #include <math.h> typedef struct { double x; double y; } Point_t; double CalcDistance( Point_t p1, Point_t p2 ){ return sqrt( pow(p2.x - p1.x, 2) + pow(p2.y - p1.y, 2) ); } int main(){ Point_t p1, p2; puts("p1のX, Y を入力してください"); scanf("%lf %lf", &p1.x, &p1.y ); puts("p2のX, Y を入力してください"); scanf("%lf %lf", &p2.x,
2010/09/14 リンク