code-porter-233

导航

2022年4月18日 #

原码 补码 反码 移码的关系

摘要: 首先,原码、补码、反码与移码都是用二进制a56爆大奖在线娱乐的 原码: 第一位为符号位,0代表正号+,1代表负号- 8位二进制原码:11111111 = -127,01111111 = +127 原码的反码: 当原码为正数时,原码的反码等于原码本身 当原码为负数时,原码的反码等于符号位不变,其余按位取反 [1111 阅读全文

posted @ 2022-04-18 23:08 瞬间空白 阅读(1347) 评论(0) 推荐(0) 编辑

2022年3月19日 #

使用VS Code从零开始构建一个ASP .NET Core Web API 项目

摘要: 首先需要安装.NET SDK 6.0 下载地址:Download .NET 6.0 (Linux, macOS, and Windows) (microsoft.com) 在VS Code终端运行指令创建项目 dotnet new webapi -o test 进入项目所在的文件夹 cd test 阅读全文

posted @ 2022-03-19 02:56 瞬间空白 阅读(1583) 评论(2) 推荐(0) 编辑

2022年3月16日 #

简单实现输入框 <input type="number" /> 只能输入正整数

摘要: <style type="text/css"> input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; } </style> ... <input type="num 阅读全文

posted @ 2022-03-16 18:20 瞬间空白 阅读(1024) 评论(0) 推荐(0) 编辑