刚学 C++ 时(为了考试),里面有很多关于内存,流的函数或类,记起来比较伤脑。C++ 中,命名空间,类,函数和字段的层次关系比较散,有时很难记全某些功能的函数如果使用。 这里介绍的是 C++ 中的流。 此图来自中国农业大学阚道宏的 C++课程。老师的课程地址:https://www.icourse163.org/u/828041496?userId=9557378&_trace_c_p_k2_=65c0410da50e4f8196ed498a433292ee C++ 中,流 分为 标准流,文件流,字符流…

2020年3月28日 0条评论 3967点热度 0人点赞 痴者工良 阅读全文

A tool for converting databases, supporting mutual conversion among dozens of databases. The conversion speed is quite good. Unfortunately, it does not support remote databases and can only use local databases. The cracked version download link is https://www.…

2020年3月27日 0条评论 878点热度 0人点赞 痴者工良 阅读全文

用于转换数据库的工具,支持几十种数据库互相转换。 转换速度不错。 可惜不支持远程数据库,只能使用本地数据库。 破解版下载地址 https://www.cncrk.com/downinfo/40576.html 原版要 $322 偶~ 支持繁体中文、英文。 支持多种转换规则,可以使用正则表达式转换字符,支持表名小写大写。 包括主键这些都给我弄上去了,舒服。 设置额不转换大小写,倒是表名还是变成小写了,字段没有变化。 [......] 继续阅读

2020年3月27日 0条评论 6288点热度 0人点赞 痴者工良 阅读全文

C/C++、C#、JAVA(三):字符串操作 Table of Contents C/C++、C#、JAVA(三):字符串操作 Defining Strings Catching Input and Output Value Comparison String Operations String Search String Extraction, Insertion, Deletion, Replacement Defining Strings C In C, there is no string object; …

2020年3月23日 0条评论 1168点热度 2人点赞 痴者工良 阅读全文

C/C++、C#、JAVA(三):字符串操作 目录 C/C++、C#、JAVA(三):字符串操作 定义字符串 捕捉输入和输出 等值比较 字符串操作 字符串搜索 字符串提取、插入、删除、替换 定义字符串 C 语言中,没有字符串对象,是使用 char [] 来存储字符串。 char a[] = "abcdef"; char c[6] = {'a', 'b', 'c', 'd', 'e', '\0'}; char* b = a; C 语言中,字符串应当以 \0 结尾。 定义数组时,必须多一位,用来存储 \0 。 C++ …

2020年3月23日 0条评论 4020点热度 2人点赞 痴者工良 阅读全文

Learn C, C++, and Java programming languages. Pass the exams; "Introduction to .NET Core Internals" Use of unit testing frameworks and the moq framework. [......] 继续阅读

2020年3月23日 0条评论 842点热度 0人点赞 痴者工良 阅读全文

学会 C、C++、Java 三种语言 通过考试; 《.NET Core 底层入门》 单元测试框架和 moq 框架的使用 [......] 继续阅读

2020年3月23日 0条评论 3918点热度 0人点赞 痴者工良 阅读全文

SELECT * FROM "MyTable" t WHERE ( 't'.'time' > '2019-03-13 00:00:00 ' ) AND ( 't'.'time' < '2019-03-13 23:59:59 ' ) Time must be written as a string in the format 2019-03-13 00:00:00 in order to be invalid. No functions and no conversions are n…

2020年3月23日 1条评论 916点热度 0人点赞 痴者工良 阅读全文

SELECT * FROM "MyTable" t WHERE ( 't'.'time' > '2019-03-13 00:00:00 ' ) AND ( 't'.'time' <'2019-03-13 23:59:59 ' ) 时间要以 2019-03-13 00:00:00 格式写成字符串才能失效。 不需要什么函数,也不需要什么转换。 [......] 继续阅读

2020年3月23日 1条评论 5158点热度 0人点赞 痴者工良 阅读全文

Basic Types and Conversion Operations Data Types The basic types in C language are as follows. | Type | Storage Size | Value Range | | :----------------- | :----------- | :-------------------------------------------------- | | char[......] 继续阅读

2020年3月22日 0条评论 5026点热度 1人点赞 痴者工良 阅读全文

基本类型和转换操作 数据类型 C语言中的基本类型如下。 类型 存储大小 值范围 char 1 字节 -128 到 127 或 0 到 255 unsigned char 1 字节 0 到 255 signed char 1 字节 -128 到 127 int 2 或 4 字节 -32,768 到 32,767 或 -2,147,483,648 到 2,147,483,647 unsigned int 2 或 4 字节 0 到 65,535 或 0 到 4,294,967,295 short 2 字节 -32,768…

2020年3月22日 0条评论 4783点热度 1人点赞 痴者工良 阅读全文

Default Code Template In compiled high-level programming languages, almost every language has a static main method as the entry point for program execution, and each language has its own coding conventions. To learn C/C++, C#, and JAVA, we should start by expl…

2020年3月22日 0条评论 1051点热度 0人点赞 痴者工良 阅读全文

代码默认模板 编译性高级编程语言中,几乎每种语言,都有个静态的 main 方法作为程序启动入口,每种语言都有其编写规范。为了学习 C/C++、C#、JAVA四种语言,我们要先从默认代码模板中,慢慢摸索学习。 约定: 我们常常可以看到 函数、方法这两个词,很多人对此进行了混用。 方法,就是 void Test(){} 这样的形式; 函数,指具有确定命名的、并且可以通过名称调用的代码,属性、字段、方法、委托、事件等; 只要能够通过确定的名称调用(使用)的代码块,就是函数;而方法就是 返回值、名称、参数等组成的代码块; …

2020年3月22日 0条评论 3962点热度 0人点赞 痴者工良 阅读全文

Supports Windows and Linux var macAddr = ( from nic in NetworkInterface.GetAllNetworkInterfaces() where nic.OperationalStatus == OperationalStatus.Up select nic.GetPhysicalAddress().ToString() ).FirstOrDefaul[......]继续阅读

2020年3月21日 0条评论 4642点热度 1人点赞 痴者工良 阅读全文

支持 Windows 和 Linux var macAddr = ( from nic in NetworkInterface.GetAllNetworkInterfaces() where nic.OperationalStatus == OperationalStatus.Up select nic.GetPhysicalAddress().ToString() ).FirstOrDefault();[......]继续阅读

2020年3月21日 0条评论 4644点热度 1人点赞 痴者工良 阅读全文

There are two toolkits for writing GUI in Java, namely AWT and Swing. Swing is an extension of AWT, featuring richer components and methods compared to AWT. Both AWT and Swing can be used across platforms; however, AWT UI styles may vary with different system …

2020年3月21日 0条评论 1054点热度 2人点赞 痴者工良 阅读全文

java 中编写 GUI 有两中工具包,分别为 AWT、Swing。 Swing 是 AWT 的拓展,Swing 具有比 AWT 丰富的组件和方法。 AWT 和 Swing 都能跨平台使用;AWT 会随着不同的系统平台,UI 样式会有所变化,Swing 则不会,设计完毕后在所有平台下样式一致。 import java.awt.*; import javax.swing.*; 一个 awt 示例 下面是一个窗口示例 import java.awt.*; public class MyFrame extends Fra…

2020年3月21日 0条评论 4153点热度 2人点赞 痴者工良 阅读全文

1. Quick Implementation of Authorization Verification What is JWT? Why use JWT? What are the components of JWT? These can be easily found on Baidu, so I won't elaborate here. In fact, it's sufficient to know that the JWT authentication mode uses a Token as the…

2020年3月15日 0条评论 4121点热度 0人点赞 痴者工良 阅读全文

[TOC] 1,快速实现授权验证 什么是 JWT ?为什么要用 JWT ?JWT 的组成? 这些百度可以直接找到,这里不再赘述。 实际上,只需要知道 JWT 认证模式是使用一段 Token 作为认证依据的手段。 我们看一下 Postman 设置 Token 的位置。 那么,如何使用 C# 的 HttpClient 访问一个 JWT 认证的 WebAPI 呢? 下面来创建一个 ASP.NET Core 项目,尝试添加 JWT 验证功能。 1.1 添加 JWT 服务配置 在 Startup.cs 的 Configure…

2020年3月15日 0条评论 4238点热度 0人点赞 痴者工良 阅读全文

var authorizeData = endpoint?.Metadata.GetOrderedMetadata<IAuthorizeData>() ?? Array.Empty<IAuthorizeData>(); [......] 继续阅读

2020年3月15日 0条评论 816点热度 0人点赞 痴者工良 阅读全文
1343536373854