2020-03-01から1ヶ月間の記事一覧
C++で、文字列の置換、string編です。 #include <iostream>#include <string> using namespace std; bool MyReplaceString(string &str,const string &oldstr,const string &newstr); int main(){ string str = "Hello ruby python perl ruby C++ ruby"; //rubyをRに置換 //文</string></iostream>…
C++のcharで、文字列の変換です。 標準関数にして欲しいです。 #include <iostream>#include <cstring> using namespace std; bool MyReplace(char *str,int maxlen,const char *srcstr,const char *deststr); int main(){ char str[80] = "ruby python C++ R言語 perl"; //「言</cstring></iostream>…
部屋の環境を変更してから、インターネットのつながりが悪くなってしまいました。 Wi-Fiルータまで距離ができてしまったので、デスクトップパソコンには、USBのWi-Fiアダプタを使用して接続をして、ごまかしていましたが、このアダプタBuffaloのWLI-UC-G300P…
今更ながら、C++の勉強をしていきます。 今でもC++なんですが、ほとんどCライクな内容です。 作成効率を考えれば、C++のほうが良いのかなと思って少しだけ勉強してみます。 C++の書籍を何冊か読んでみましたが難しいですね。 では、最初にHelloWorldです。 #…
ONIONサイトの公開やってみました。 時間がないのでちゃちゃっとした内容です。 間違っているかもしれません。 ○参考 Tor公式の導入の手引き https://2019.www.torproject.org/docs/debian.html.en#ubuntu ・Ubuntuユニバースのパッケージは使用せずに・apt …