码迷,mamicode.com
首页 > 其他好文
学生成绩管理系统
解析: 最近帮朋友做的一个相当于课程设计的学生成绩管理系统,她们要求是用c语言写,对于一个用惯c++的孩子来说真是感觉写起来的各种限制真心感觉到无语,不说了直接上代码 #include "student.h" void main() { char ch='0'; int index=0; char id[ID_SIZE]; student students; student ph...
分类:其他好文   时间:2016-07-05 01:11:30    阅读次数:480
【leetcode】26. Remove Duplicates from Sorted Array
题目描述: Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra sp ...
分类:其他好文   时间:2016-07-05 01:10:45    阅读次数:230
【leetcode】20. Valid Parentheses
题目描述: Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. The brackets must close i ...
分类:其他好文   时间:2016-07-05 01:10:02    阅读次数:231
一天工作总结
今天是毕业之后入职的第一天,趁着还有点干劲,给自己来点总结。 今天一到公司就要为开始做项目而准备,看着之前师兄给我的转发的原型图有点无从下手。感觉最不好弄的是排期,前面师兄提到过,用jQuery+bootstrap+vue来完成项目编写,但是我对bootstrap不熟悉,不知道做项目的过程中会遇到什 ...
分类:其他好文   时间:2016-07-05 01:09:08    阅读次数:264
APUE(5)---标准I/O库 (3)
十、定位流 对于一个二进制文件,whence可以为SEEK_SET/SEEK_CUR/SEEK_END;对于文本文件,whence只能是SEEK_SET,并且offset只能是:0(后退到文件的起始位置)或是对该文件的ftell所返回的值。使用rewind也可以将一个流设置到文件的起始位置。 十一、 ...
分类:其他好文   时间:2016-07-05 01:09:44    阅读次数:348
【leetcode】22. Generate Parentheses
题目描述: Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. 解题分析: 这类题一般都要用递归的方法来解决。需要设两个集合类分别存储待匹配的( ...
分类:其他好文   时间:2016-07-05 01:09:06    阅读次数:180
【leetcode】 21. Merge Two Sorted Lists
题目描述: Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. 解题 ...
分类:其他好文   时间:2016-07-05 01:10:38    阅读次数:216
Collection接口 Collection的通用方法 foreach Iterator 迭代器
Collection接口 单列集合的接口list 有索引 有序set 无索引 无序AbstractCollection是实现了Collection接口的抽象父类Collection<> c = new ArrayList<>();多态 只可以用父类的方法,不可以用子类特有的方法 Collection ...
分类:其他好文   时间:2016-07-05 01:10:24    阅读次数:392
【leetcode】19. Remove Nth Node From End of List
题目描述: Given a linked list, remove the nth node from the end of list and return its head. 解题分析: 这个题的关键是找到倒数第n个节点:设置两个标记变量,想让其中1个走n-1步,然后两个一起往后走,当第一个变量指 ...
分类:其他好文   时间:2016-07-05 01:08:57    阅读次数:154
ltrace killed by SIGTRAP
[Ltrace-devel] ltrace stucks with pthreads Heiko Carstens heiko.carstens at de.ibm.com Fri Apr 14 11:14:42 UTC 2006 Previous message: [Ltrace-devel] l ...
分类:其他好文   时间:2016-07-05 01:07:55    阅读次数:299
avalon教程-简介
avalon是什么? avalon是一个MVVM框架, Modle-模型层,即为js中从后台接口中取出的数据,例如一个对象或者对象数组,并对这些数据进行一定的格式化。常见的返回数据是这样的{id : 1, name: "%E5%BC%A0%E4%B8%89", birthday : "1467646 ...
分类:其他好文   时间:2016-07-05 01:08:02    阅读次数:477
网络支付极其简单的体会(只是为了凑今天的量)
简单的说一下,在网络支付的开发中,其实我觉得以前我想的其实过于复杂了。 在实际的开发中,确实对于我们操作的地方其实不多,很少会有,也不能说绝对,总之很多项目为了节省开发成本,都会采用第三方支付。 也就是说实际的支付流程其实最关键的地方不在我们手上,而我们要做的其实也就很简单了。 参数拼接,拼接那些支 ...
分类:其他好文   时间:2016-07-05 01:08:59    阅读次数:275
最新版CocoaPods的安装流程
1.移除现有Ruby默认源 $gem sources --remove https://rubygems.org/ 2.使用新的源 $gem sources -a https://ruby.taobao.org/ 3.验证新源是否替换成功 $gem sources -l 4.安装CocoaPods ...
分类:其他好文   时间:2016-07-05 01:08:01    阅读次数:320
Logback相关知识汇总
例如:%-4relative 表示,将输出从程序启动到创建日志记录的时间 进行左对齐 且最小宽度为4格式修饰符,与转换符共同使用:可选的格式修饰符位于“%”和转换符之间。第一个可选修饰符是左对齐 标志,符号是减号“-”;接着是可选的最小宽度 修饰符,用十进制数表示。如果字符小于最小宽度,则左填充或右 ...
分类:其他好文   时间:2016-07-05 01:07:51    阅读次数:1701
Chapter 5. ListBox控件(双击播放图片)
...
分类:其他好文   时间:2016-07-05 01:06:44    阅读次数:237
【leetcode】25. Reverse Nodes in k-Group
题目描述: Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. If the number of nodes is not a multiple of k  ...
分类:其他好文   时间:2016-07-05 01:05:26    阅读次数:120
logback自定义格式转换器
创建自定义格式转换符有两步。 首先,必须继承ClassicConverter类。ClassicConverter对象负责从ILoggingEvent 提取信息,并产生一个字符串。例如,LoggerConverter,它是处理“% logger”转换符的转换器,它从ILoggingEvent提取log ...
分类:其他好文   时间:2016-07-05 01:03:43    阅读次数:609
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!