c++的核心优势是便于软件的重用: 1)面向对象的思想:继承和多态、标准类库 2)泛型程序设计 (generic programming):模板机制、标准模板库(standard template library, STL)(标准模板库就是一些常用的数据结构和算法模板的集合) 1.STL中的基本概念 ...
分类:
其他好文 时间:
2019-04-08 10:40:36
阅读次数:
165
一、添加到app里面 二、新建filter.py 三、views.py ...
分类:
其他好文 时间:
2019-04-06 17:06:52
阅读次数:
193
C# html 1 <!-- saved from url=(0013)about:internet --> 2 <!DOCTYPE html> 3 <html> 4 <head> 5 <meta charset="utf-8"> 6 <meta http-equiv="X-UA-Compatibl ...
原文:WPF定时刷新UI界面代码: using NHibernate.Criterion; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Compo... ...
By combining the NTSTATUS into a single 32-bit numbering space, the following NTSTATUS values are defined. Most values also have a defined default mes ...
分类:
其他好文 时间:
2019-04-01 15:49:03
阅读次数:
198
最近在看《Java核心技术》泛型相关的部分,总结下。 泛型程序设计是什么? 泛型编程(generic programming)是计算机编程中的一种风格,类型通过参数指定。意味着编写的代码可以被不同类型的对象所使用。 类型参数(type parameters),指示类型。ArrayList用类型参数来 ...
分类:
编程语言 时间:
2019-03-30 21:39:18
阅读次数:
193
using System;using System.Collections.Generic;using System.Text;using System.IO;using System.Data;using System.Data.OleDb;namespace Core.IO{ /// <summ ...
分类:
其他好文 时间:
2019-03-29 14:40:24
阅读次数:
145
在项目开发中,有时候要处理一些文件,比如视频格式的转换,如果用C开发一套算法,再用C#调用,未免得不偿失!有时候调用现有的程序反而更加方便。今天就来说一下C#中如何调用外部程序,执行一些特殊任务。 这里演示调用cmd.exe,即我们常用的DOS。 下面来看代码: 这里调用DOS,执行查看版本的命令, ...
using Autofac.Extras.DynamicProxy; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks;... ...
分类:
其他好文 时间:
2019-03-27 18:21:21
阅读次数:
269