1.根据路径把图片转成二进制保存在数据库里public bool SaveImage(string
filePath) { bool isSuccess = false; string FilePath = filePath; ...
分类:
其他好文 时间:
2014-05-22 04:08:20
阅读次数:
210
出题:输入一个整数N,求从1到N这N个整数的十进制表示中‘1’出现的次数;分析:从左向右处理string表示的数字;当前数字长度为n,判断最左边一位数字字符;如果是0,则直接递归下一位;如果是1,则计数有两个来源,一个是n位数数字(实际就是除去最高位之后的数字大小,加上1,当其余位全部为0的时候),...
分类:
其他好文 时间:
2014-05-22 03:50:52
阅读次数:
265
属性摘要属性说明documentPath:String
FlashPaper文件的路径.borderThickness:Number 边框宽度.borderColor:String
边框颜色.UIElements:Object 外观元素的可见性.currentZoom:Object 默认缩放比例.w...
1. 什么是异常2. 异常的分类3. try...catch..finally结构的使用方法1.
什么是异常 异常:中断了 正常指令流的 事件 异常 是在程序运行的时候产生的 1 class Test{2 public static void
main(String args []){3 ...
分类:
编程语言 时间:
2014-05-22 03:33:39
阅读次数:
346
namespace 单例模式{ class Student { int id; string
name;//1 private Student() { }//2private static Stude...
分类:
其他好文 时间:
2014-05-22 02:19:11
阅读次数:
265
Find first not repeating char in a string.
分类:
其他好文 时间:
2014-05-22 02:13:26
阅读次数:
309
C++ string class copy constructor and assign
constructor.
分类:
其他好文 时间:
2014-05-22 02:10:40
阅读次数:
325
题目链接 The string "PAYPALISHIRING" is written in a
zigzag pattern on a given number of rows like this: (you may want to display
this pattern in a fixed ...
分类:
其他好文 时间:
2014-05-22 01:55:19
阅读次数:
320
原文: Razor基础语法简介
Razor的出现,使页面看起更加简洁,Razor的页面后缀为:.cshtmlRazor基础语法:1、代码注释: 多行注释: @*注释信息*@ 单行注释: //
注释 1、代码体{...}@{ var x=100; var y=100; string str="this...
分类:
其他好文 时间:
2014-05-22 01:09:16
阅读次数:
302