Quantcast
Channel: C++博客-The Fourth Dimension Space
Browsing latest articles
Browse All 26 View Live

Image may be NSFW.
Clik here to view.

C# 猜数字小游戏(IDisposable接口练习)

using System;using System.Collections.Generic;using System.Linq;using System.Text;class iTimer:IDisposable{    String mes;    DateTime s;    public iTimer(String mes)    {        this.mes = mes;...

View Article



Image may be NSFW.
Clik here to view.

C# Dictionary容器练习

using System;using System.Collections.Generic;using System.Linq;using System.Text;class MagicDictionary{    private Dictionary<String, String> dic;    public MagicDictionary()    {        dic =...

View Article

Image may be NSFW.
Clik here to view.

C++ 泛型编程练习 Adaptor Functor & Helper Function

#include<iostream>using namespace std;template <class OutputIterator, class Iterator, class predicate>    void copy(OutputIterator o, Iterator f, Iterator l, predicate p)    {...

View Article

Image may be NSFW.
Clik here to view.

Scala数组操作

scala中的数组比java的数组强大很多       1、定长数组:长度不变的数组Array,如:声明一个长度为10的整形数组,val arr = Array[Int](10);声明并初始化一个字符串数组: val arrStr = Array(“wo”,”cha”,”yo”)。访问数组方式:访问arrStr第一个元素,arrStr(1)即可...

View Article

Image may be NSFW.
Clik here to view.

数据库练习

计算两日期间隔天数values (days(current date) - days('2014-09-01'))去出某一字符串的的一个单词,空格为分隔符select substr(title,1,instr(title,' ')-1) from titles将字符串的一个空格替换为'--hello--'select substr(title,1,locate(' ',title)-1)  ||...

View Article


Image may be NSFW.
Clik here to view.

Windows上转unix目录

pushd \\msad\root\ap\apbo\ku\USERS\weitaol\Desktop 运行命令V:\AP\APBO\KU\USERS\weitaol\Desktop\TAP\Course\System Architecture\SOAP & REST Assessment\mybank>xjc -b .\src\binding.xml -d  .\src\ -p...

View Article

Image may be NSFW.
Clik here to view.

Unix下 压缩和解压缩命令

范例: .tar 解包:tar -xvf FileName.tar 打包:tar -cvf FileName.tar DirName (注:tar是打包,不是压缩!) --------------------------------------------- .gz 解压1:gunzip FileName.gz 解压2:gzip -d FileName.gz 压缩:gzip FileName...

View Article

Image may be NSFW.
Clik here to view.

WebSocket的一些资料

http://www.cnblogs.com/imayi/archive/2012/05/05/2485343.htmlabilitytao 2014-11-19 22:13 发表评论

View Article


Image may be NSFW.
Clik here to view.

什么是市盈率或称本益比(P/E Ratio)?

本益比是选股票的重要指标之一,说起本益比这个词,相信很多人都有听过,大部分投资者也自认明白和了解本益比的含义,但当你叫他和你解释时,他却说了半天你也没听懂。...

View Article


Image may be NSFW.
Clik here to view.

人生的高度不在于你学会了什么技术,会做什么事,而取决于价值观(value)与远见(vision)

待写abilitytao 2016-12-31 22:01 发表评论

View Article
Browsing latest articles
Browse All 26 View Live




Latest Images