trying run spyder on ubuntu Os on WSL

trying run spyder on ubuntu OS but getting this error: (venv) [email protected]:~$ spyder QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to ‘/tmp/runtime-ankur’ qt.qpa.screen: QXcbConnection: Could not connect to display Could not connect to any X display. QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to ‘/tmp/runtime-ankur’ qt.qpa.screen: QXcbConnection: Could not connect to display Could not connect to any X display.

Details

std::string == operator not working in code

So I am making a simple calculator using c++ which inputs a string from the user and takes that input as the operation. std::cout<<“Enter your operation: “; std::string operation; std::cin>>operation; while(operation != string(“+”)|| operation != string(“-“) || operation != string(“*”)) { std::cout<<“Invalid operation! Please enter a valid one: “; std::cin>>operation; } However no matter what…

Details

how to resolve errors in teamviewer installation on Ubuntu 19.10

From teamviewer page I downloaded teamviewer package 64 bit. I am using Ubuntu 19.10 and tried to install the downloaded package from command line [email protected]:~/teamviewer$ sudo dpkg -i teamviewer_15.1.3937_amd64.deb [sudo] password for debian: Selecting previously unselected package teamviewer. (Reading database … 398566 files and directories currently installed.) Preparing to unpack teamviewer_15.1.3937_amd64.deb … Unpacking teamviewer (15.1.3937)…

Details