码迷,mamicode.com
首页 >  
搜索关键字:struct stat    ( 35365个结果)
POJ 1054 搜索
#include<iostream> #include<memory.h> #include<cmath> #include<algorithm> using namespace std; typedef struct { int x, y; }node; node d[6000]; int r, ...
分类:其他好文   时间:2020-11-08 17:11:46    阅读次数:15
第五章 认识数组
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 #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
linux文件的三个时间,修改文件时间为任意时间
一.文件的三个时间 当我们在linux中创建了文件或文件夹,文件/文件夹就有了时间属性,而且linux中的文件具有三个时间,可以通过stat命令查看文件的三种时间: ? 访问时间(Access time):又简称为atime,对文件进行一次读操作,它的访问时间就会改变。例如cat,more等操作,但 ...
分类:系统相关   时间:2020-11-08 17:02:45    阅读次数:34
c# 生成树方法
数据结构接口: /// <summary> /// 实体类必须实现接口 /// </summary> public interface IToTreeModel { int Id { get; set; } int ParentId { get; set; } List<IToTreeModel> ...
分类:Windows程序   时间:2020-11-06 02:27:53    阅读次数:27
第一个程序HelloWorld(print&println)
1.随便新建一个文件夹, 存放代码 2.新建一个Java文件 文件后缀名为.java Hello.java [注意点] 系统可能没有显示文件后缀名, 我们需要手动打开 3.编写代码 public class HelloWorld {//类 类名 //IDEA中打psvm+回车 public stat ...
分类:其他好文   时间:2020-11-06 02:21:45    阅读次数:25
Tarjan全家桶
强联通分量及缩点 #include<bits/stdc++.h> #define re register #define v e[i].to using namespace std; const int lzw=1e4+3; int n,m,head[lzw],tot,h[lzw],cnt,dfn[ ...
分类:其他好文   时间:2020-11-06 01:55:25    阅读次数:17
Cglib 如何实现多重代理?
由于 Cglib 本身的设计,无法实现在 Proxy 外面再包装一层 Proxy(JDK Proxy 可以),通常会报如下错误: Caused by: java.lang.ClassFormatError: Duplicate method name "newInstance" with signa ...
分类:其他好文   时间:2020-11-06 01:39:55    阅读次数:26
基数排序
基数排序 /* * 1.求出排序中最大的数的位数 * 2.创建10个桶,并且桶的大小为数组的长度 * 3.为了记录桶中的数的多少bucketElementCounts * 4. * */ public static void radixSort(int [] arr){ // * 1.求出排序中最大 ...
分类:编程语言   时间:2020-11-06 01:35:55    阅读次数:24
date
Date类:日期类·1Data类有两大功能,1把日期解释为年月日时分秒2运行格式化和解析日期字符串·2Date类中的以上两大功能分别被Calendar类和DateFormat类替换掉了·3在date类中出现了大量的以弃用的和过时的方法。DataFormat类:Java.text包中是一个抽象类直接子类SimpleDateFormat作用:格式化日期并解析日期时间,通常用于日期和string字符串之
分类:其他好文   时间:2020-11-06 01:29:26    阅读次数:45
共35365条   上一页 1 ... 79 80 81 82 83 ... 3537 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!