上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 24 下一页
摘要: # 1 获得所有的文件名 所有的文件包括自己和LIST.TXT。 # 2 获得指定后缀名的所有文件名(*.lib) lib不区分大小写。 阅读全文
posted @ 2018-05-30 20:25 路边的十元钱硬币 阅读(152) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h" #include #include #include void getFile(std::string path, std::vector &files ) { // 文件句柄 intptr_t hFile = 0; //long hFile = 0; // 64和32平台long的大小不... 阅读全文
posted @ 2018-05-30 16:12 路边的十元钱硬币 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 下面的图表试图显示不同的TCP/IP和其他的协议在最初OSI模型中的位置: 参考: https://blog.csdn.net/THMAIL/article/details/71553374 阅读全文
posted @ 2018-05-28 13:53 路边的十元钱硬币 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 1. 写txt 2. 读写txt 参考: http://www.runoob.com/csharp/csharp-file-io.html 阅读全文
posted @ 2018-05-21 22:44 路边的十元钱硬币 阅读(192) 评论(0) 推荐(0) 编辑
摘要: # 1 语法 try catch finally(相当于catch(...)) # 2 异常类型 常见的异常是继承自System.Exception System.ApplicationException 和 System.SystemException 类是派生于 System.Exception 阅读全文
posted @ 2018-05-21 22:23 路边的十元钱硬币 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 等用的时候,可以现查。 参考: http://www.runoob.com/csharp/csharp-regular-expressions.html 阅读全文
posted @ 2018-05-21 22:02 路边的十元钱硬币 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 基本和C++一致。 参考: http://www.runoob.com/csharp/csharp-preprocessor-directives.html 阅读全文
posted @ 2018-05-21 21:59 路边的十元钱硬币 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 和C++不同的地方: 1. 访问内部成员的方式使用 点 2. using 的语法 参考: http://www.runoob.com/csharp/csharp-namespace.html 阅读全文
posted @ 2018-05-21 21:55 路边的十元钱硬币 阅读(93) 评论(0) 推荐(0) 编辑
摘要: # 1 接口的使用示例 使用interface,关键字 接口的实现和使用,和继承类似。 在使用之前,要实现接口。 # 2 接口的继承 在继承接口的类中,要实现所有的接口。 参考: http://www.runoob.com/csharp/csharp-interface.html 阅读全文
posted @ 2018-05-21 21:50 路边的十元钱硬币 阅读(168) 评论(0) 推荐(0) 编辑
摘要: # 静态多态性 ## 1 函数重载 和C++一样。 ## 2 运算符重载 public static operator 不是所有的运算符都可以被重载。 运算符只能采用值参数,不能采用 ref 或 out 参数。 C# 要求成对重载比较运算符。如果重载了==,则也必须重载!=,否则产生编译错误。同时, 阅读全文
posted @ 2018-05-21 20:58 路边的十元钱硬币 阅读(157) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 24 下一页