上一页 1 ··· 4 5 6 7 8 9 10 下一页
摘要: 1.现在大多数机器字长为4字节(32位),8字节(64位)。ps:所以我们可以通过判断int类型的长度来得出系统位数。 2.系统硬件组成,如下图: 总线:贯彻整个系统的一组电子管道。 I/O设备:系统与外部世界联系的通道。(比如鼠标、键盘、显示屏及磁盘。) 主存:是一个临时存储设备,在处理器执行程序 阅读全文
posted @ 2018-04-27 20:12 流星泪 阅读(154) 评论(0) 推荐(0)
摘要: 1 string code = null; 2 String projectName = Assembly.GetExecutingAssembly().GetName().Name; 3 // 1. 生成要编译的代码。(示例为了简单直接从程序集内的资源中读取) 4 Stream stram = A 阅读全文
posted @ 2018-04-23 17:08 流星泪 阅读(460) 评论(0) 推荐(0)
摘要: 1.首先在其他电脑上及本地添加一个本地账户(需要账号及密码一致)。 2.发布网站到IIS上。 3.添加虚拟目录。 4.选择其他电脑上的共享文件。 5.点击连接为,选择特定用户设置,填写第一步添加的账户及密码。 6.然后通过本地发布的网站地址加文件路径即可访问。 7.页面路径这样写(其他电脑图片为~/ 阅读全文
posted @ 2018-04-17 17:02 流星泪 阅读(709) 评论(0) 推荐(0)
摘要: 1 var url = GetWBJokeUrl("/book/1719.html"); 2 string next; 3 GetContent(url, out next); 4 while (true) 5 { 6 ConsoleKeyInfo info = System.Console.Rea 阅读全文
posted @ 2018-04-17 13:43 流星泪 阅读(322) 评论(0) 推荐(0)
摘要: 1 using System; 2 using System.CodeDom; 3 using System.Collections; 4 using System.Collections.Generic; 5 using System.Data.SqlClient; 6 using System. 阅读全文
posted @ 2018-04-12 15:02 流星泪 阅读(480) 评论(0) 推荐(0)
摘要: public static void CreateWord(string HtmlPath, string WordSavePath) { string inputName = HtmlPath; //string ext = Path.GetExtension(inputName); string ou... 阅读全文
posted @ 2018-04-10 11:52 流星泪 阅读(260) 评论(0) 推荐(0)
摘要: 1 namespace HTML 2 { 3 class Program 4 { 5 const string qsbkMainUrl = "http://www.qiushibaike.com"; 6 7 private static string GetWBJokeUrl(int pageInd 阅读全文
posted @ 2018-04-10 11:46 流星泪 阅读(153) 评论(0) 推荐(0)
摘要: 1 public class Default1Controller : Controller 2 { 3 // 4 // GET: /Default1/ 5 6 public ActionResult Index() 7 { 8 return View(); 9 } 10 11 public Jso 阅读全文
posted @ 2018-04-10 11:42 流星泪 阅读(426) 评论(0) 推荐(0)
摘要: 用层次法和蒙特卡洛模型计算权重系数,然后建立判断矩阵进行随机一致性检验,最后求出重要度指数。 1 string calculateStr = "1,2,3,2,1,|1,2,3,2,1,|1,2,3,2,1,|1,2,3,2,1,"; 2 var vals = calculateStr.Split( 阅读全文
posted @ 2018-04-10 11:32 流星泪 阅读(952) 评论(0) 推荐(0)
摘要: 1 namespace Test1 2 { 3 /// <summary> 4 /// 重构类 5 /// </summary> 6 public class Collection : CollectionBase 7 { 8 public void Add(object item) 9 { 10 阅读全文
posted @ 2018-04-10 11:25 流星泪 阅读(176) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 下一页