What do you want to save?
Add Code snippet
New code examples
-
C++ 2021-11-20 01:47:18
virtual function in c++
#include <iostream> #include <string> //Pure virtual function or inteface allows us to define a function in a base class that doesn't have an implementation or definition in the base class and force sub classes to implement that function //P... Add solution -
-
Javascript 2021-11-17 00:37:22
javascript select2 sortable
//CSS Must Include CSS .sortable { list-style-type: none; } .select2-selection__rendered li.placeholder { width: 0; height: 0; border-bottom: 5px solid transparent !important; border-top: 5px solid green !important; border-left... Add solution -
Other 2021-11-16 23:46:16
load data from firestore to a model flutter
import 'package:flutter/material.dart'; import 'package:cloud_firestore/cloud_firestore.dart'; class FirebaseFirestoreGetDocument extends StatelessWidget { final firestoreInstance = FirebaseFirestore.instance; Future getDocument() async { print(... Add solution -
C++ 2021-11-16 01:17:12
Missionaries and cannibals problem solution in C++
// missionaries and cannibals #include<iostream> #include<iomanip> using namespace std; class game{ public: int counto, i; char left[6], right[6]; int m_num, c_num; bool side; int ml_count, cl_count; int mr_count, cr_count; game(){ counto = ... Add solution -
Python 2021-11-15 19:10:15
making a student admission program in python
#reader from tkinter import * import time Student_forum = Tk() Roll_no_ask = Label(Student_forum,text="Roll no of the student") Roll_no_ask.pack() Roll_no = Entry() Roll_no.pack() def submit(): get_data = open("student_details.txt&qu... Add solution -
Python 2021-11-15 07:22:18
4 in a rpw pygame code
import pygame import sys import time from pygame.locals import * import numpy as np COLUMNS = 7 ROWS = 6 WINAMOUNT = 4 WINDOWWIDTH = 800 WINDOWHEIGHT = 600 COUNTERDIAMETER = 50 PLAYWIDTH = COLUMNS*(COUNTERDIAMETER+25)+25 PLAYHEIGHT = ROWS*(COUNTERDIAMETE... Add solution