What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-10-30 04:08:13
online password generator in php
<?php function randomPassword() { $alphabet = "abcdefghijklmnopqrstuwxyzABCDEFGHIJKLMNOPQRSTUWXYZ0123456789"; $pass = array(); //remember to declare $pass as an array $alphaLength = strlen($alphabet) - 1; //put the length -1 in ca... Add solution -
Shell/Bash 2021-10-08 22:56:08
c# powershell commandlet
using System.Management.Automation; // Windows PowerShell assembly. namespace SendGreeting { // Declare the class as a cmdlet and specify the // appropriate verb and noun for the cmdlet name. [Cmdlet(VerbsCommunications.Send, "Greeting")... Add solution -
C++ 2021-09-20 02:10:02
Turn the bank details struct into a class
#include <iostream> #include <fstream> #include <string> #include <iomanip> #include <fstream> using namespace std; #define a_row 10 #define a_col 6 ifstream inputname, inputscore; class studentRecord { private: string na... Add solution -
VBA 2021-09-16 19:53:05
vba word open document read only
Sub OpenWord() Dim WordApp As Object Dim WordDoc As Object Set WordApp = CreateObject("Word.Application") Set WordDoc = WordApp.Documents.Open(Filename:="C:\test\test.doc", ReadOnly:=True) WordApp.Visible = True 'do your stuff Set W... Add solution
Best helpers
Ranking is empty