タイトル: コンパイルと実行方法
SEOタイトル: 【C++】コンパイルと実行方法
前提
WIndows OS
Visual Studio Code
プログラム
| test.cpp |
|---|
|
#include <stdio.h> int main(void){ printf("Hello"); return 0; } |
コンパイル
|
gcc -o test test.cpp |
実行
|
./test.exe |
出力結果
|
Hello |
