LoginSignup
0
0

More than 3 years have passed since last update.

C、C++学習メモ 1_#include

Last updated at Posted at 2020-12-02

includeに関して

・#の付いた予約語はpre-processor directive (プリプロセサ指令)
・includeは「includeが書かれた場所にまずはそいつを読みこめ」
・Cのコンパイルは2段階。
まず#ついたプロプロセサ指令を全て処理→プリプロセサによる処理が済んだソースコードをコンパイル。
・Cは関数を予め宣言しなければならない。
・Cの初期状態では関数が定義されていないので関数が定義されたファイルstdio.hを読み込む必要がある(標準Cライブラリ)
・ライブラリはコンパイラにある。
・stdioは「standard input/output(標準入出力)」の略

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0