What do you want to save?
Add Code snippet
New code examples
-
Other 2022-03-25 00:15:24
if tab clicked do imgui
for (unsigned i = 0; i < documents_.size(); i++) { auto* doc = &documents_[i]; auto flag = doc->IsDirty() ? ImGuiTabItemFlags_UnsavedDocument : 0; if (pending_selection_uid_ == doc->uid_) { pending_selection_uid_ = 0; flag |= ImGu... Add solution -
Other 2022-03-24 12:50:19
remove acentos excel
'ALT+F11 -> Inserir Módulo Function TiraAcento(Palavra) CAcento = "àáâãäèéêëìíîïòóôõöùúûüÀ&A... Add solution -
Python 2022-03-21 13:20:10
python list comprehension multiple for
""" List comprehension goes through the loops in the order you'd expect. Outer loops (first loops) are executed first, then inner loops. """ numbers = [1, 2, 3, 4, 5] letters = ['a', 'b', 'c', 'd', 'e'] list_comprehension =... Add solution -
C++ 2022-03-19 22:20:17
check file exist cpp
#include <sys/stat.h> #include <unistd.h> #include <string> #include <fstream> inline bool exists_test0 (const std::string& name) { ifstream f(name.c_str()); return f.good(); } inline bool exists_test1 (const std::str... Add solution -
PHP 2022-03-18 20:50:20
php two way encrypt decrypt
function encrypt_decrypt($string, $action = 'encrypt') { $encrypt_method = "AES-256-CBC"; $secret_key = 'AA74CDCC2BBRT935136HH7B63C27'; // user define private key $secret_iv = '5fgf5HJ5g27'; // user define secret key $key = hash(... Add solution -
C++ 2022-03-18 06:10:28
TypeError: unsupported operand type(s) for +: 'int' and 'str'
#this is a int Anmol = 1 #this is a str Mom = "1" Anmol + Mom #if you add you get someting that looks like this #TypeError: unsupported operand type(s) for -: 'str' and 'int' #to fix do the following Anmol + str(Mom) Add solution