comment

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

関連記事

no image

convert コマンドで最大画像サイズを指定して画像を変換する方法

-extent のオプションで画像の希望の最大サイズを入力しておくことにより、そのサイズ(下の例では5キロバイト)になる。 同時に、希望の画像の大きさも、-resize オプションを使って入力しておく …

no image

tex で累乗根を入力する方法

$\sqrt[n]{2}$のようにする。 例 $\sqrt[n]{2}$ 結果

no image

std::vector で、vector の要素を erase() で消去する

任意の要素を指定して、 養素を消去することができる。 例 #include <iostream> #include <vector> int main() { std::vector&lt …

no image

python3 で、リストを pop したものの返り値

リストを pop すると、 pop された値が返される。 例 plant_1 = [’pumpkin’, ‘ginger’, ‘potato’] plant_2 = [] print( …

no image

c++ で文字列(string)の長さを取得する方法

length() で取得する。 例 #include <iostream> #include <string> using namespace std; int main () { str …