上一页 1 ··· 3 4 5 6 7
摘要: tuple([iterable]) Return a tuple whose items are the same and in the same order as iterable‘s items. iterable may be a sequence, a container that supp 阅读全文
posted @ 2016-12-14 17:59 夜歌乘年少 阅读(768) 评论(0) 推荐(0)
摘要: Return a list of the words of the string s. If the optional second argument sep is absent or None, the words are separated by arbitrary strings of whi 阅读全文
posted @ 2016-12-14 17:52 夜歌乘年少 阅读(667) 评论(0) 推荐(0)
摘要: control /name Microsoft.Personalization /page pageWallpaper // 该功能在WIN8中存在,但是微软在WIN10中取消了它(取消了双屏单独设置墻纸) 如果按照楼上复制粘贴的方法,唯一的结果就是把墻纸设置成幻灯片模式,两个屏幕一会儿就换一张墻纸 阅读全文
posted @ 2016-12-07 19:59 夜歌乘年少 阅读(1576) 评论(0) 推荐(0)
摘要: http://www.h3c.com.cn/Solution/Smart_Network/SDN/ http://network.51cto.com/network/content2013/SDNkepu/ 51CTO 阅读全文
posted @ 2016-09-26 11:59 夜歌乘年少 阅读(162) 评论(0) 推荐(0)
摘要: 色域(CIE1931)=ABS(RC[-6]*RC[-3]+RC[-4]*RC[-1]+RC[-2]*RC[-5]-RC[-6]*RC[-1]-RC[-4]*RC[-5]-RC[-2]*RC[-3])/2 阅读全文
posted @ 2016-09-25 22:10 夜歌乘年少 阅读(12607) 评论(0) 推荐(0)
摘要: http://jingyan.baidu.com/article/922554468a3466851648f419.html 阅读全文
posted @ 2015-06-13 21:55 夜歌乘年少 阅读(706) 评论(0) 推荐(0)
摘要: //key is -3#includeint main(){ char s[]="wklv phvvdjh lv qrw wrr kdug wr"; for(int j=0;j<26;j++) { for(int i =0;;i++) { char c=s[i]; if(c=='\0')... 阅读全文
posted @ 2015-05-19 20:21 夜歌乘年少 阅读(605) 评论(0) 推荐(0)
摘要: //添加appinstallagent无效的方法http://jingyan.baidu.com/article/e52e3615a2b38f40c60c51d3.html 阅读全文
posted @ 2015-05-08 09:23 夜歌乘年少 阅读(179) 评论(0) 推荐(0)
摘要: 今天手贱startx然后虚拟机就卡死了,再开输过密码就无限跳到登陆界面,其他账户可用。怀疑/home未挂载。解决方法:(alf改成你的用户名)$ cd ~$ sudo chown alf:alf.Xauthority然后再次输入:ls .Xauthority -l成功后显示如下:-rw-------... 阅读全文
posted @ 2015-05-06 18:35 夜歌乘年少 阅读(1809) 评论(1) 推荐(0)
摘要: //先导入gson到lib,add build path//2015年5月5日22:02:37package com.alfredsun.thread;import com.google.gson.JsonObject;public class test { public static void ... 阅读全文
posted @ 2015-05-05 22:03 夜歌乘年少 阅读(325) 评论(0) 推荐(0)
摘要: //2015年5月5日16:55:00//Mainpackage com.alfredsun.thread;public class Main { public static void main(String[] args) { // TODO Auto-generated method stub... 阅读全文
posted @ 2015-05-05 16:56 夜歌乘年少 阅读(292) 评论(0) 推荐(0)
摘要: //2015年5月2日19:40:02alf@alf-virtual-machine:~/Git/repository$ vim readme.txtalf@alf-virtual-machine:~/Git/repository$ git add readme.txtalf@alf-virtual... 阅读全文
posted @ 2015-05-02 19:44 夜歌乘年少 阅读(282) 评论(0) 推荐(0)
摘要: //文件操作//2015年4月30日15:40:21package com.alfredsun.first.main;import java.io.File;import java.io.IOException;public class test { public static void main(... 阅读全文
posted @ 2015-04-30 15:41 夜歌乘年少 阅读(216) 评论(0) 推荐(0)
摘要: //东软实训前,要把java 看完。//2015年4月29日21:44:13//list01package com.alfredsun.first.main;import java.util.ArrayList;import java.util.List;public class test { pu... 阅读全文
posted @ 2015-04-29 21:22 夜歌乘年少 阅读(209) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u... 阅读全文
posted @ 2015-04-28 11:41 夜歌乘年少 阅读(312) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.IO;namespace 文件转换{ clas... 阅读全文
posted @ 2015-04-22 21:18 夜歌乘年少 阅读(266) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u... 阅读全文
posted @ 2015-04-21 15:19 夜歌乘年少 阅读(249) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 课本习题{ public class Animal ... 阅读全文
posted @ 2015-04-21 12:31 夜歌乘年少 阅读(224) 评论(0) 推荐(0)
摘要: 原文地址:http://blog.csdn.net/sky___ice/article/details/11533321Form1.Designer.cs:////Form1// this.MouseDown += new System.Windows.Forms.MouseE... 阅读全文
posted @ 2015-04-17 19:27 夜歌乘年少 阅读(1274) 评论(0) 推荐(0)
摘要: #include#include#include#include using namespace std;class CShape{public: virtual double Area() = 0;//pure virtual fun virtual void PrintInfo()= 0;};c... 阅读全文
posted @ 2015-04-13 20:48 夜歌乘年少 阅读(214) 评论(0) 推荐(0)
摘要: #includeusing namespace std;class Base{ public: int n; Base(int i):n(i) { cout<<"Base "<<n<<" constructed"<<endl; } ~Base(){ cout<<"Base "<<n... 阅读全文
posted @ 2015-04-13 14:35 夜歌乘年少 阅读(229) 评论(0) 推荐(0)
摘要: //人狗关系#includeusing namespace std;class Cmaster;class Cdog{ Cmaster *pm;};class Cmaster{ Cdog *dogs[10]; };int main(){ Cmaster alf;} 阅读全文
posted @ 2015-04-13 11:33 夜歌乘年少 阅读(185) 评论(0) 推荐(0)
摘要: //CanBaoYan。。//考虑到明年还要水蓝桥杯,还是学学c++把#includeusing namespace std;class CStudent{ private: string sName; int nAge; public: bool IsThreeGood(){cou... 阅读全文
posted @ 2015-04-11 22:30 夜歌乘年少 阅读(175) 评论(0) 推荐(0)
摘要: 没做完,先搞答题了#include #include#includeint comp(const void *a,const void *b){ return *(int*)a-*(int*)b;}int main(){ //----part1 for(int i=100;i1000&&sumi... 阅读全文
posted @ 2015-04-10 20:24 夜歌乘年少 阅读(596) 评论(0) 推荐(0)
摘要: //主要是要找到f(n)=2*f(n-1)-1的规律.#include #include int f(int n){ if(n==0) return 2; else return 2*f(n-1)-1;}int main(){ printf("%d",f(10));} 阅读全文
posted @ 2015-04-10 17:33 夜歌乘年少 阅读(290) 评论(0) 推荐(0)
摘要: 在c#中有两种方式可以输出多个字符其中的一种:static void Main() { string c=Console.ReadLine(); string d=Console.ReadLine(); Console.WriteLine(c+","+d); //用“+”连接符 }那么你说这样写很容... 阅读全文
posted @ 2015-03-24 20:55 夜歌乘年少 阅读(990) 评论(0) 推荐(0)
摘要: /*你看哪里有个小鸡呦1你看那里他有小鸡哟小鸡哔哔-bi-哟小鸡哔哔哔哔-bi-哟小鸡哔哔-bi-哟小鸡哔哔哔哔-bi-哟小鸡哔哔-bi-哟小鸡哔哔哔哔-bi-哟//---------------------------你看那里又有母鸡哟2你看那里又有母鸡哟母鸡咯咯咯咯咯咯-go-小鸡哔哔哔哔-bi... 阅读全文
posted @ 2015-02-08 23:04 夜歌乘年少 阅读(364) 评论(0) 推荐(0)
摘要: #include__int64 A[100]={0};__int64 B[100]={0};__int64 SUM[100]={0};int main(){int T ,i=0; __int64 a,b,sum; scanf("%d",&T); while (T--) { scanf("%I64d... 阅读全文
posted @ 2014-04-11 11:28 夜歌乘年少 阅读(204) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7