What do you want to save?
Add Code snippet
New code examples
-
C 2022-03-03 05:50:38
how to compress a file in c
#include <stdio.h> #include <string.h> //comp() void Compress(unsigned char *szOut, const char *szMessage) { unsigned long long nBuffer = 0; //This is enough to store 8 uncompressed characters or 9 compressed. We will only use 8 tho. char n... Add solution -
-
C++ 2022-01-22 17:11:01
how to check char array equality in c++
// syntax #include <cstring> // this needs to be at the top of the script/code std::strcmp(<1st-char>,<2nd-char>) // example (assuming: char_1 = 'Compare me'; char_2 = 'Compare_me') #include <cstring> if (std::strcmp(char_1,cha... Add solution -
SQL 2021-11-21 07:18:19
sql string functions
ASCII Returns the equivalent ASCII value for a specific character. CHAR_LENGTH Returns the character length of a string. CHARACTER_ LENGTH Same as CHAR_LENGTH. CONCAT Adds expressions together, with a minimum of 2. CONCAT_WS Adds expressions together, but... Add solution