流浪のwolf

卷帝

导航

上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 74 下一页

2024年2月24日

C# 中的四种整形数据

摘要: // C# 中有四种整数类型 byte short int long byte bMax = byte.MaxValue; /// 255 最大值 byte bMin = byte.MinValue; /// 0 最小值 short sMax = short.MaxValue; // 32767 s 阅读全文

posted @ 2024-02-24 09:34 朱龙旭的网络 阅读(71) 评论(0) 推荐(0)

2024年2月22日

C++ 第四节课 C和C++指针的区别 C的宏函数和C++内联函数的优缺点

摘要: #include <iostream> // 定义一个宏函数 #define ADD(x,y) x+y; // 宏函数具有速度快等特点 但是写代码有些业务比较繁琐,所以C++中使用了内联函数优化 // 在定义函数前面添加一个inline把这个函数变成内联函数 inline int max(int x 阅读全文

posted @ 2024-02-22 23:11 朱龙旭的网络 阅读(15) 评论(0) 推荐(0)

C++ 第三节课 指针的使用

摘要: #include <iostream> using namespace std; void show(){ cout << "全局函数" << endl; } struct Stu { int a; void write_code(){ cout << "成员函数" << endl; } }; in 阅读全文

posted @ 2024-02-22 21:38 朱龙旭的网络 阅读(12) 评论(0) 推荐(0)

2024年2月21日

C++ 第二节课 结构体, 字符串 和 C语言的区分

摘要: 1 #include <iostream> 2 3 using namespace std; 4 5 6 // 结构体 7 struct Stu{ 8 string name; 9 int age; 10 11 // 结构体重的函数叫做成员函数 在 C 中是不能直接写函数的 只能使用函数指针,通过指 阅读全文

posted @ 2024-02-21 21:39 朱龙旭的网络 阅读(11) 评论(0) 推荐(0)

C++ 第一节课 名字空间 ,输入输出函数,和 C 语言的区别

摘要: #include <iostream> // #include 头文件,C++标准库的头文件都不带 .h (.h 是C库头文件添加的) #include <cstdio> #include <cstring> using namespace std; // namespace 命名空间 为了防止变量 阅读全文

posted @ 2024-02-21 20:40 朱龙旭的网络 阅读(20) 评论(0) 推荐(0)

2024年2月5日

前端监听页面是否鼠标移动 超过一定的静止时间自动跳转到登录页面

摘要: import { CreateBuriedPoints } from '@/api/Statistics'; export const DurationStay = { data(){ return { currentTime:"", DurationOfStay: 5*60*1000, //自定义 阅读全文

posted @ 2024-02-05 09:53 朱龙旭的网络 阅读(93) 评论(0) 推荐(0)

2024年1月6日

netCore 封装一个检验邮箱的类

摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SQL_Common.ValidateRules 阅读全文

posted @ 2024-01-06 18:18 朱龙旭的网络 阅读(8) 评论(0) 推荐(0)

netCore 配置跨域 封装成文件

摘要: namespace Zhaoxi.Manage.MentApi.Utility.RegisterExt { /// <summary> /// 跨域扩展 /// </summary> public static class CrosServiceExtension { /// <summary> / 阅读全文

posted @ 2024-01-06 14:43 朱龙旭的网络 阅读(17) 评论(0) 推荐(0)

2023年12月5日

ADO.NET组成

摘要: SqlConnection(数据库连接器) SqlCommand(数据库命名对象) SqlCommandBuilder(生存SQL命令) SqlDataReader(数据读取器) SqlDataAdapter(数据适配器填充DataSet ) SqlParameter(为存储过程定义参数) SqlT 阅读全文

posted @ 2023-12-05 19:43 朱龙旭的网络 阅读(15) 评论(0) 推荐(0)

ORM底层逻辑

摘要: 1 数据库必然是只认识Sql语句 2 ORM的底层必然是ADO.NET 3 ORM也可以说是ADO的一种封装 ORM: 1 通过实体生成Sql语句—大量的反射 2 对应映射关系 阅读全文

posted @ 2023-12-05 19:41 朱龙旭的网络 阅读(19) 评论(0) 推荐(0)

上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 74 下一页