https://scrapbox.io/gosyujin/MSB8020_v142_(%E3%83%97%E3%83%A9%E3%83%83%E3%83%88%E3%83%95%E3%82%A9%E3%83%BC%E3%83%A0_%E3%83%84%E3%83%BC%E3%83%AB%E3%82%BB%E3%83%83%E3%83%88_=_’v142′)_%E3%81%AE%E3%83%93%E3%83%AB%E3%83%89_%E3%83%84%E3%83%BC%E3%83%AB%E3%81%8C%E8%A6%8B%E3%81%A4%E3%81%8B%E3%82%8A%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82
投稿者: chosuke
PHP 関数
<?php
function showAd()
{
echo ‘———-‘ .PHP_EOL;
echo ‘— Ad —‘ . PHP_EOL;
echo ‘———-‘ .PHP_EOL;
}
showAd();
echo ‘Tom is great!’ . PHP_EOL;
echo ‘Bob is great!’ . PHP_EOL;
showAd();
echo ‘Steve is great!’ . PHP_EOL;
echo ‘Bob is great!’ . PHP_EOL;
showAd();
ゲームクラス
#include <iostream>
using namespace std;
#define ELEM(array) (sizeof (array) / sizeof *(array))
class GameClass
{
public:
char title[16];
int music;
int graphic;
int Viewoftheworld;
void Disp();
};
void GameClass::Disp()
{
cout << “ゲームタイトル : ” << title << endl
<< “ 音楽 : ” << music << ” 点, “
“グラフィック : ” << graphic << ” 点, “
“世界観 : ” << Viewoftheworld << ” 点” << endl;
}
int main()
{
GameClass Gametitle[] = {
{ “原神”, 73, 98, 95, },
{ “バイオハザード4”, 85, 95, 90, },
{ “FF14”, 76, 98, 90, },
};
int i;
for(i = 0; i < ELEM(Gametitle); i++)
Gametitle[i].Disp();
return 0;
}
ポケモン
#include <iostream>
using namespace std;
void pokemon1()
{
cout << “ポッチャマを選ぶ” << endl;
cin >> a;
}
void pokemon2()
{
cout << “ナエトルを選ぶ” << endl;
}
void pokemon3()
{
cout << “ヒコザルを選ぶ” << endl;
}
int main()
{
pokemon1();
pokemon2();
pokemon3();
return 0;
}
rails sが立ち上がらない時の対処法
https://qiita.com/kamyu/items/1d39d4e57f04a3ad6b0c
rails g コマンドが反応しない時の対処法
https://dara-blog.com/about-rails-error05
error LNK1168
https://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q1498244134
【heroku】デプロイの方法、appの削除
https://qiita.com/yu731994/items/86e03c5ff91aa3ba7e9d
Git Commitを実行したら、「Author identity unknown」エラー
https://yutaka-gakushu.com/tips/git/author-identity-unknown-error
Github WEB Page
https://yujiromx.com/github-site/
