码迷,mamicode.com
首页 >  
搜索关键字:string+    ( 95377个结果)
WPF APP 启动时增加特殊逻辑
public partial class App : Application { public App() { this.Startup += (o1, e1)=>{ string commandLine = Environment.CommandLine; string appFilePath = ...
分类:移动开发   时间:2020-11-08 17:59:30    阅读次数:30
剑指 Offer 45. 把数组排成最小的数
思路 本题解来自:面试题45. 把数组排成最小的数(自定义排序,清晰图解) 1 class Solution { 2 public: 3 string minNumber(vector<int>& nums) { 4 vector<string> vs; 5 for(int i = 0; i < n ...
分类:编程语言   时间:2020-11-08 17:55:22    阅读次数:27
Postman使用详解
一、概念 1、Postman是一款功能强大的网页调试与发送网页HTTP请求的Chrome插件,Postman分为Postman native app和Postman Chrome app两个版本。目前Chrome app已经停止维护,官方也不推荐使用该版本。 2、官网下载地址:http://www. ...
分类:其他好文   时间:2020-11-08 17:51:05    阅读次数:31
3. 无重复字符的最长子串 Longest Substring Without Repeating Characters
Given a string s, find the length of the longest substring without repeating characters. Input: s = "abcabcbb"Output: 3Explanation: The answer is "abc ...
分类:其他好文   时间:2020-11-08 17:44:10    阅读次数:26
Java集合
*一、集合框架的概述**1.集合、数组都是对多个数据进行存储操作的结构,简称Java容器。*说明:此时的存储,主要指的是内存层面的存储,不涉及到持久化的*(.txt,.jpg,.avi,数据库中)**2.1数组在存储多个数据方面的特点:*>一旦初始化以后,其长度就确定了。*>数组一旦定义好,其元素的类型也就确定了。我们也就只能操作指定类型*的数据了。*比如:String[]arr;in
分类:编程语言   时间:2020-11-08 17:31:41    阅读次数:21
第五章 认识数组
public class nixushuchu { public static void main(String[] args) { intm i; int[] a; //声明一个数组 a = new int [5]; //分配内存空间供整形数组使用,其元素个数为5 fou (i=0;i<5;i++ ...
分类:编程语言   时间:2020-11-08 17:08:52    阅读次数:17
欧拉筛法模板代码
#include<iostream> #include<algorithm> #include<cstdio> #include<cstring> #define MAXN 100000 using namespace std; int pri[MAXN];///质数数列 bool vis[MAXN ...
分类:其他好文   时间:2020-11-08 17:07:41    阅读次数:13
四则运算
#include #include <string.h> #define size 10 using namespace std; //含有一个二元算数式的三个值 typedef struct{ float x = 0,y = 0; //x,y为给定的随机数 float r = 0; //r为算数式 ...
分类:其他好文   时间:2020-11-08 17:05:55    阅读次数:19
java object wait notify notifyAll 的探究
先列出我的测试代码: 1 public static Object loc=new Object(); 2 3 public static void main(String[] args) throws Exception{ 4 5 Thread t1=new Thread(new Runnable ...
分类:编程语言   时间:2020-11-08 16:50:52    阅读次数:19
String API
1.大小写转换 str.toUpperCase() //都转为大写字母 str.toLowerCase() //都转位小写字母 2.获取子字符串 str.slice(start,end) //从start截取到end 特点: 1.包含start,不包含end 2.如果省略end,表示一直选取到尾 3 ...
分类:Windows程序   时间:2020-11-08 16:50:40    阅读次数:27
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!