码迷,mamicode.com
首页 >  
搜索关键字:string or number    ( 118627个结果
文件这样上传,配置更灵活
文件上传 新建一个项目,添加UploadController @RestController public class UploadController { @PostMapping("upload") public String post(@RequestParam("file") Multipa ...
分类:Web程序   时间:2021-07-05 16:40:02    阅读次数:0
JavaSE:NIO编程实例
客户端 1 public static void main(String[] args) throws IOException { 2 3 4 5 // 创建客户端 6 7 SocketChannel sc = SocketChannel.open(); 8 9 10 11 // 指定要连接的服务器 ...
分类:编程语言   时间:2021-07-02 16:40:13    阅读次数:0
winform提取文本(txt)中想要的内容
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.IO;using System.Linq;usi ...
分类:Windows程序   时间:2021-07-02 16:23:21    阅读次数:0
go的接口
1、直接执行 app.go --type a 对于这种形式可以采用flag的形式进行,参考: wordPtr := flag.String("word", "foo", "a string") https://studygolang.com/articles/25754?fr=sidebar 2、r ...
分类:其他好文   时间:2021-07-02 16:17:44    阅读次数:0
java IO 获取文件父级路径 ,如果为空则执行删除
file1=new File(path);//path 为文件地址String parentPath=file1.getParent();parentPath为path的父级目录String[] arr=null;//用来验证文件是否为空文件File parentFile=new File(pare ...
分类:编程语言   时间:2021-07-02 16:09:34    阅读次数:0
Linux下MySQL(5.7.17)的安装以及常用命令整理
一、MySQL的安装 说明: Linux下软件的安装通常有三种方式:二进制、rpm、yum三种方式。它们三个具体的区别参考博客: https://www.cnblogs.com/LiuChunfu/p/8052890.html MySQL的下载: 因为我使用的是阿里云服务器,联网的,所以我直接在li ...
分类:数据库   时间:2021-07-02 16:00:54    阅读次数:0
1060 Are They Equal (25 分)
If a machine can save only 3 significant digits, the float numbers 12300 and 12358.9 are considered equal since they are both saved as 0 with simple c ...
分类:其他好文   时间:2021-07-02 15:54:07    阅读次数:0
判断命令是否在PATH环境变量中
1 public static bool IsInPath(string command) 2 { 3 bool isInPath = false; 4 // 判断PATH中是否存在 命令 5 foreach (string test in (Environment.GetEnvironmentVa ...
分类:其他好文   时间:2021-07-02 15:52:09    阅读次数:0
简聊DFA(确定性有限状态自动机)
个人认为状态机思想是惊为天人的,在一些领域有重要意义。而在前端交互上,用状态机实现一些东西,容易出现各种问题: 如:设置“伪态”;他人难以维护;新增状态时需要非常谨慎。 ...
分类:其他好文   时间:2021-07-02 15:49:10    阅读次数:0
Effective C++ 条款16~17
Effective C++ 条款16:成对使用new和delete时要采取相同形式 我们先看下面两行代码 std::string* stringArray = new std::string[100]; delete stringArray; 这里我们先new了一个string数组,然后又把这个数组 ...
分类:编程语言   时间:2021-07-02 15:39:44    阅读次数:0
118627条   上一页 1 ... 3 4 5 6 7 ... 11863 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!