comment

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

関連記事

no image

tex でセクションの記号(§)を入力する

セクション記号「§」は、\S で入力できる。 例 \S 1.2.3 を参照 結果 美味しんぼ(39)【電子書籍】[ 雁屋哲 ]価格:605円(税別、送料別)(2020/12/26時点)楽天で購入

no image

c++ で文字列を「区切り文字」を使って分ける方法

string の find を使って、区切り文字の場所を取得し、その位置で区切る。 例 #include <iostream> #include <string> using namesp …

no image

tex の表で、複数行を1行内に入れる方法

multirow パッケージを使っておき、表内で multirow で入力する。 例 \usepackage{multirow} \begin{document} \begin{table} \beg …

no image

c++ で文字列が他の文字列を含むか判定する方法

文字列を含むかどうか判定するには、string の find を使う。見つからなかった場合は、std::string::npos を返す。 例 #include <iostream> #i …

no image

matplotlib で、軸に垂直・平行な線を書く方法

axhline, axvline を使ってx,y軸に平行な線を描くことができる。 https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot …