What do you want to save?
Add Code snippet
New code examples
-
Other 2021-11-09 19:39:29
huffman coding algorithm code
// Huffman Coding in C++ #include <iostream> using namespace std; #define MAX_TREE_HT 50 struct MinHNode { unsigned freq; char item; struct MinHNode *left, *right; }; struct MinH { unsigned size; unsigned capacity; struct MinHNode **... Add solution -
SQL 2021-11-08 22:43:06
get max salary from each department sql
--Find out the name of top earner in each departments --Output has Name, Department name and max salary of the department SELECT E.FIRST_NAME , D.DEPARTMENT_NAME, E.SALARY FROM EMPLOYEES E JOIN DEPARTMENTS D ON E.DEPARTMENT_ID = D.DEPARTMENT_ID WHERE SAL... Add solution -
Other 2021-11-08 12:17:19
csgo private server commands
//these are most of the commands you will need. They will allow you to test smokes and nades as well as trying out new strats. //enjoy :) sv_cheats 1;bot_kick;sv_infinite_ammo 1;sv_grenade_trajectory 1;mp_maxmoney 65535;mp_startmoney 65535;mp_afterround... Add solution -
Other 2021-11-08 05:43:20
insert multiple records on the Database in Entity Framework Core
var dept1 = new Department() { Name = "Development" }; var dept2 = new Department() { Name = "HR" }; var dept3 = new Department() { Name = "Marketing" }; using (var context = new CompanyContext()) { context.Department.A... Add solution -
VBA 2021-11-07 11:45:08
not in list access vba
Private Sub cboDept_NotInList(NewData As String, Response As Integer) Dim oRS As DAO.Recordset, i As Integer, sMsg As String Dim oRSClone As DAO.Recordset Response = acDataErrContinue If MsgBox("Add dept?", vbYesNo) = vbYes The... Add solution -
Go 2021-11-06 05:13:12
mongo db const insertDocuments
const insertDocuments = function(db, callback) { // Get the documents collection const collection = db.collection('documents'); // Insert some documents collection.insertMany([ {a : 1}, {a : 2}, {a : 3} ], function(err, result) { assert.... Add solution -
Other 2021-11-05 18:24:17
ffmpeg raspivid rtmp
raspivid -o - -t 0 -vf -hf -fps 30 -b 6000000 | ffmpeg -re -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -f h264 -i - -vcodec copy -acodec aac -ab 128k -g 50 -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/<SESSION> Add solution