What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-03-27 22:25:20
javascript download string as file
function download(filename, text) { var element = document.createElement('a'); element.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(text)); element.setAttribute('download', filename); element.style.display = 'none'; ... Add solution -
C 2022-03-27 21:35:04
Write a c code to create a data base of students using structure. The member variables are roll, grade, and marks. Create 3 structure variable of 3 different roll numbers and find out the roll number of the student who is having highest marks.
#include <stdio.h> struct student { char firstName[50]; int roll; float marks; } s[10]; int main() { int i; printf("Enter information of students:\n"); // storing information for (i = 0; i < 5; ++i) { ... Add solution -
VBA 2022-03-27 20:55:02
excel vba check if all substrings in list are in string
'VBA function to check if ALL of a list of substrings is contained 'within a string: Function AllIn(s$, ParamArray checks()) As Boolean Dim e For Each e In checks If 0 = InStrB(s, e) Then Exit Function Next AllIn = True End Functi... Add solution -
C# 2022-03-27 17:30:06
c# convert byte to char
byte[] bytes = {Byte.MinValue, 40, 80, 120, 180, Byte.MaxValue}; char result; foreach (byte number in bytes) { result = Convert.ToChar(number); Console.WriteLine("{0} converts to '{1}'.", number, result); } // The example displays the foll... Add solution -
Javascript 2022-03-27 17:05:05
JavaScript how do you create a screen button in 10 lines?
const stream = await navigator. mediaDevices. getDisplayMedia({ video: { mediaSource: "screen" } }); const recorder = new MediaRecorder(stream); const chunks = []; recorder. ondataavailable = e => chunks. push(e. ... recorder. onstop = e =>... Add solution -
Shell/Bash 2022-03-27 15:55:41
ubuntu black screen recording
log out and beside "Sign in" button you will see a small cogwheel. click on it and choose "Ubuntu on Xorg" or "Gnome on Xorg" and you're good to go, OBS should work on that, but this reverts you to using X as display manager. Add solution -
Other 2022-03-27 13:20:35
centos 7 vmware
How to install CentOS in VMware Workstation Step 01: Create a New Virtual Machine Step 02: Select Hardware Compatibility Step 03: Use or select CentOS Image to install Step 04: Configure Virtual Machine Name and file Location Step 05: Configure Virtual p... Add solution -
C# 2022-03-27 12:05:29
c# program for cash withdraw and cash deposit using oop
/* * C# Program to Display the ATM Transaction */ using System; class program { public static void Main() { int amount = 1000, deposit, withdraw; int choice, pin = 0, x = 0; Console.WriteLine("Enter Your Pin N... Add solution
Best helpers
Gabi Purcaru
+5
L. Samson
+5
Yoyo
+5
Skry
+5
Colocvial
+5
Sarah witte
+5
Leosar
+5
Tobiak777
+5
Tjd
+5