Eclipse
eclipseでそのままの状態でラムダ式やshared_ptrなどを使用すると、エラーが出ます。 その対処方法です。(1) C/C++ Build -> Settings -> Tool Settings -> GCC C++ Compiler -> Miscellaneous -> Other Flagsと辿り、そこに-std=c++11を追加する。これで、…
eclipseでそのままの状態でラムダ式やshared_ptrなどを使用すると、エラーが出ます。 その対処方法です。(1) C/C++ Build -> Settings -> Tool Settings -> GCC C++ Compiler -> Miscellaneous -> Other Flagsと辿り、そこに-std=c++11を追加する。これで、…