What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2022-03-27 13:30:32
linux c++ from console
g++ program.cpp make program ./program Add solution -
C++ 2022-03-23 06:10:46
error: ‘CV_WINDOW_AUTOSIZE’ was not declared in this scope
#include <opencv2/highgui/highgui.hpp> NOTE: since all the windowing stuff is in the highgui module, you'll need to include above header. Example error: prashad@ubuntu:~/test$ g++ create_ipl_image.cpp `pkg-config opencv cvblob --cflags --libs` ... Add solution -
SQL 2022-03-21 08:55:17
LoadError: cannot load such file -- mysql2/2.7/mysql2
rm Gemfile.lock gem uninstall mysql2 gem install mysql2 -v '0.5.2' -- --with-mysql-config=/usr/local/Cellar/[email protected]/5.7.25/bin/mysql_config --with-ldflags=-L/usr/local/opt/openssl/lib --with-cppflags=-I/usr/local/opt/openssl/include --platform=ruby bund... Add solution -
C++ 2022-02-20 20:45:02
undefined reference to instance
//Put this in the .cpp Singleton *Singleton::instance = NULL; //! This is the Singleton definition in .hpp class Singleton { private: static Singleton *instance; public: static Singleton *getInstance() { if (instance == NULL) {instance = new S... Add solution -
C++ 2022-02-17 06:35:18
could not find the task c c++ active file
{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations&quo... Add solution -
Other 2022-02-08 07:55:15
45445
# stdin to ipfs > echo hello mars | ipfs-paste http://gateway.ipfs.io/ipfs/QmZd56pN6zKvFrqp3ojRHHJQ2x2NWKTLmsEQbni37cDgvx/paste # clipboard to ipfs > echo hello mars | pbcopy > pbpaste hello mars > ipfs-paste --paste http://gateway.ipfs.io/ip... Add solution