摘要:
猜随机数字 use std::cmp::Ordering; use std::io; use rand::Rng; fn main() { println!("guess the number!"); let secret_number = rand::thread_rng().gen_range( 阅读全文
摘要:
依赖注入 DI综合案例 需求说明 先建一个ConsoleMailSend总项目,然后建一个类库项目 声明一个接口: using System; using System.Collections.Generic; using System.Linq; using System.Text; using 阅读全文
摘要:
改注册表无限试用 start.bat文件 @echo off setlocal enabledelayedexpansion chcp 65001 > nul REM 获取当前日期,格式为MM/dd/yyyy for /f "delims=" %%a in ('wmic OS Get localda 阅读全文
摘要:
ALU实现 Or16way /** * 16-way Or: * out = (in[0] or in[1] or ... or in[15]) */ module Or16Way(input[15:0] in,output out); // your code here wire out1,out 阅读全文