c#字符显示转换{0:d} C#:String.Format数字格式化输出 : int a = 12345678; //格式为sring输出 // Label1.Text = string.Format("asdfadsf{0}adsfasdf",a); // Label2.Text = "asdf ...
分类:
其他好文 时间:
2021-04-19 14:32:39
阅读次数:
0
使用as连接真机时,找不到设备,发现 D:\Android\Sdk\platform-tools\adb.exe start-server' failed -- run manually if necessary 这是可能是adb端口占用的问题,解决方法: 1.查找此时正在占用adb默认端口‘503 ...
分类:
移动开发 时间:
2021-04-16 12:15:52
阅读次数:
0
#_*_ encoding: utf-8 _*_ @author: ty heris #项目名称: pycharm_file 会自动替换为当前项目名称 #创建时间: 2018/5/6 会自动替换为当前日期 lst1 = [[0]*5]*5 print(lst1) # [[0, 0, 0, 0, 0] ...
分类:
其他好文 时间:
2021-04-16 12:15:15
阅读次数:
0
pwd,打印当前目录 ls:List information about the FILEs (the current directory by default) -a/--all -d/--directory dir -a 进入如camera的目录后运行dir、ls会卡住(可以ctrl+c退出)。 ...
分类:
移动开发 时间:
2021-04-16 12:10:03
阅读次数:
0
/* * Copyright (c) 2015 Paul B Mahol * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under th ...
分类:
其他好文 时间:
2021-04-16 12:07:43
阅读次数:
0
Linux Linux是目前应用最广泛的服务器操作系统,基于Unix,开源免费,由于系统的稳定性和安全性,市场占有率很高,几乎成为程序代码运行的最佳系统环境。linux不仅可以长时间的运行我们编写的程序代码,还可以安装在各种计算机硬件设备中,如手机、路由器等,Android程序最底层就是运行在lin ...
分类:
系统相关 时间:
2021-04-16 12:05:25
阅读次数:
0
resources文件夹对系统来说属于动态目录,随着编译后文件移动。当有些方法需要找到绝对路径时,需要通过读取resources来形成它的绝对路径。 1、读取成file import java.io.File; import java.net.URL; URL url = WcsWindow.cla ...
分类:
其他好文 时间:
2021-04-16 11:57:21
阅读次数:
0
只能用指定字符,实现函数功能 /* * CS:APP Data Lab * * <Please put your name and userid here> * * bits.c - Source file with your solutions to the Lab. * This is the ...
分类:
移动开发 时间:
2021-04-15 12:42:58
阅读次数:
0
1、先对系统生成的Fragment改造成更直观的,比如这种 public class DashboardFragment extends Fragment { private DashboardViewModel dashboardViewModel; public View onCreateVie ...
分类:
移动开发 时间:
2021-04-15 12:40:48
阅读次数:
0
简介 是什么 文件包含,一个简单的例子,和 c 语言 include 一样,将一个文件包含到另一个文件。通常出现在多文件开发,模块化开发的场景下。 文件包含,就是代码中通过某种方法包含了其它文件,可以将另一个文件的内容引入到当前文件。从而可以执行代码。 # 本地文件包含 http://example ...
分类:
其他好文 时间:
2021-04-15 12:36:17
阅读次数:
0