エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Formatting issue with fgets in a function
I am asking for input from a functions using fgets. I keep getting a annoying bug, in which the p... I am asking for input from a functions using fgets. I keep getting a annoying bug, in which the program skips right over the input and goes to input of the second variable. I have no idea what seems to be the problem. The code in question is below. It reads from getchar(), and if it is 'n' it goes the 2nd function. #include <stdio.h> void enter(){ char name[20]; int Age; float Highbp; float Lowbp;
2015/01/25 リンク