No.2ベストアンサー
- 回答日時:
★まとめ
・ネットでは、なかなか略語(語源)まで見つかりませんね。
1つは見つかったが \a をアラームになっている。アラートの方です。
\a 07h BEL アラート(Alert)
\b 08h BS バック スペース(Back Space)
\f 0Ch FF フォーム フィード (Form Feed)
\n 0Ah LF 行送り、ライン フィード (Line Feed)または(New Line)
\r 0Dh CR 復帰、キャリッジ リターン (Carriage Return)または(Return)
\t 09h HT 水平タブ(Horizontal Tab)
\v 0Bh VT 垂直タブ(Vertical Tab)
http://www.tamasoft.co.jp/lc/hlp/F017.html→『エスケープ シーケンス』
参考資料:
http://www.wdic.org/w/WDIC/%E3%82%AD%E3%83%A3%E3 …
http://www.wdic.org/w/WDIC/%E3%83%A9%E3%82%A4%E3 …
http://www.wdic.org/w/WDIC/%E3%83%95%E3%82%A9%E3 …
http://www.wdic.org/w/TECH/%E3%82%A2%E3%83%A9%E3 …
No.1
- 回答日時:
多分ある。
ただ明確に由来だと書いてあるようには読めないが。http://forum.sourceboost.com/index.php?showtopic …
とかいうので
http://en.wikipedia.org/wiki/C_(programming_lang …
の
External links
にあるPDFの仕様書内を
\nで検索かけた
5.2.2 Character display semantics
Alphabetic escape sequences representing nongraphic characters in the execution
character set are intended to produce actions on display devices as follows:
\a (alert)Produces an audible or visible alert without changing the active position.
\b (backspace)Moves the active position to the previous position on the current line. If the active position is at the initial position of a line, the behavior of the display device is unspecified.
\f (form feed)Moves the active position to the initial position at the start of the next
logical page.
\n (newline)Moves the active position to the initial position of the next line.
\r (carriage return)Moves the active position to the initial position of the current line.
\t (horizontal tab)Moves the active position to the next horizontal tabulation position
on the current line. If the active position is at or past the last defined horizontal
tabulation position, the behavior of the display device is unspecified.
\v (vertical tab)Movesthe active position to the initial position of the next vertical
tabulation position. If the active position is at or past the last defined vertical
ただ,
\rが
carriage Returnであって
caRriage returnや
carRiage returnや
でないことが示せない
(ないと思うけど, WindowsだってCutとCopyのアクセスキーが
Cu【t】と【C】opyみたいな中途半端なときあるので)
同様に
Form feedなのか
form Feedなのか
も保証できない
お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!
似たような質問が見つかりました
- 数学 ハフマン符号の符号化についてです。 確率が(A,0.25)( B,0.25)( C,0.2)( D, 1 2022/07/06 13:56
- C言語・C++・C# C言語のエラーについて 2 2022/07/11 13:56
- C言語・C++・C# ごめんなさい。 3 2022/09/20 22:26
- C言語・C++・C# プログラミング言語「C#」の難易度ってどれくらいですか? 4 2022/05/12 19:15
- その他(言語学・言語) C言語って暗記系ですか 3 2022/12/15 07:30
- その他(言語学・言語) VBA、C言語、英語。 それぞれの習得時間ってどれくらいですか? 1 2023/03/30 20:55
- 計算機科学 空系列を用いたもので、 2 2022/12/12 01:36
- 英語 描写述語の条件(本来の性質、一時的な属性、又は両方)について 2 2022/07/25 13:41
- 格安スマホ・SIMフリースマホ OPPOリノ3aですが時々、知らぬ間に画面が真っ暗になっている時があり、電源ボタンを長押しして再起動 1 2022/05/23 11:20
- 格安スマホ・SIMフリースマホ OPPOリノ3aですが時々、知らぬ間に画面が真っ暗になっている時があり、電源ボタンを長押しして再起動 2 2022/05/23 11:18
関連するカテゴリからQ&Aを探す
おすすめ情報
デイリーランキングこのカテゴリの人気デイリーQ&Aランキング
-
1コールだけ鳴るけど切れる電話...
-
相手側の携帯が電源切れてる時...
-
よく05(04)lineって見かけるん...
-
遠くにいる友達とLINE交換する...
-
いきなりラインのトークに「新...
-
LINE追加で「該当するユーザー...
-
Windowsのバッチファイルで正規...
-
face book で女性の方からline ...
-
質問です。 先日クラスの女子に...
-
新規発行された格安SIMでLine登...
-
私がlineのアイコンを変更する...
-
ラインナップとラインアップは...
-
2000年生まれなのですが 00line...
-
ネットで個人の電話番号を調べ...
-
ある男子から、ライン追加され...
-
LINEで好きな人が「笑」を全然つ...
-
歯科衛生士の方へ、連絡先を渡...
-
lineのワン切り、なぜ?
-
電話番号を教えたら下の名前が...
-
インスタでlineでダイエット方...
マンスリーランキングこのカテゴリの人気マンスリーQ&Aランキング
-
1コールだけ鳴るけど切れる電話...
-
相手側の携帯が電源切れてる時...
-
よく05(04)lineって見かけるん...
-
LINE追加で「該当するユーザー...
-
ラインナップとラインアップは...
-
Windowsのバッチファイルで正規...
-
いきなりラインのトークに「新...
-
face book で女性の方からline ...
-
生産ラインの品質を表す直行率...
-
遠くにいる友達とLINE交換する...
-
「一番上、真ん中、下」を示す英語
-
python flask から fastapiへの...
-
法線(normal line)はなぜそう...
-
ある男子から、ライン追加され...
-
LINEで好きな人が「笑」を全然つ...
-
タイトルの改行
-
スマホに外国の電話番号を登録...
-
ネットで個人の電話番号を調べ...
-
lineのワン切り、なぜ?
-
会社の先輩とLINE プライベート...
おすすめ情報