-
数据结构图的算法
图的最短路径计算,采用迪杰拉斯特算法对单源最短路径进行计算,用弗洛伊德算法求图中人任意一对顶点之间的最短路径,程序中包含图的存储结构 采用的是顺序存储。图的最短路径计算。图的最短路径计算
- 2022-03-14 10:49:28下载
- 积分:1
-
Qt Dll 文件实例
Qt 生成Dll文件的实例,不足之处一起学习。
- 2022-11-29 12:10:03下载
- 积分:1
-
调用win32api的函数,通过ip地址获取对方的MAC地址,使用.netframework的域名解析函数获取对方的主机名...
调用win32api的函数,通过ip地址获取对方的MAC地址,使用.netframework的域名解析函数获取对方的主机名-win32api call a function through ip address access to each other"s MAC address, and use. Netframework domain name analytic function access to each other"s hostname
- 2022-08-18 13:33:09下载
- 积分:1
-
bootstrap datetimepicker示例源码
bootstrap datetimepicker示例源码
- 2014-01-11下载
- 积分:1
-
Take chars from the usb connection and turn them into IQ symbols to be modulated and broadcast.
Take chars from the usb connection and turn them into IQ symbols to be modulated and broadcast.
- 2023-07-26 14:35:03下载
- 积分:1
-
编译原理 词法分析 c++
编译原理 词法分析
操作步骤:
1.在test文件夹中放入测试文档,命名为test编号.txt
2.打开lexicalTest.exe程序可见:
请选择要测试的文件:
1->test1.txt
2->test2.txt
3->test3.txt
4->test4.txt
3.输入先要测试的文档编号:
例如:1
4.词法分析器会将结果输出在test文件夹中的tokenOut.txt文件
词法分析完成,请检查tokenOut.txt文件
b ID
:= ASSIGN
( LPAREN
c_781 ID
:= ASSIGN
-5.12 NUM
+ PLUS
36E-1 NUM
, COMMA
c_871 ID
) RPAREN
+ PLUS
0.3E+4 NUM
+ PLUS
-3.8 NUM
; SEMI
out KEY
( LPAREN
zy ID
:= ASSIGN
c_871 ID
+ PLUS
-56 NUM
, COMMA
b ID
) RPAREN
- 2022-02-25 10:04:58下载
- 积分:1
-
facebook开源框架
开源的folly源码框架,可以从此框架中学习相关的C++基础知识体系,完善自身C++功力。同时包括C++11的各种特性都可以找到相关应用,以及相关的基础库文件,可以直接调用。
- 2022-06-19 10:39:55下载
- 积分:1
-
显示器原理图固件源码
RTD2270L原理图源码固件RTD2270L 用LVDS液晶驱动板,核心MCU为RTD2270,将VGA输入转换为LVDS输出,根据驱动源码里提供的液晶面板头文件的配置格式,修改成你所接液晶屏的时序参数
- 2022-08-11 20:47:08下载
- 积分:1
-
nginx-rtmp-module-note
本项目为方便学习nginx-rtmp-module源码,为每个函数添加了输出,在该函数调用时会输出函数所在文件和函数名,方便理解模块调用时函数的调用次序。
nginx-rtmp-module源码:https://github.com/arut/nginx-rtmp-module
项目代码托管:https://git.oschina.net/evan-xia/nginx-rtmp-module.git
- 2022-01-25 19:29:27下载
- 积分:1
-
EF Code First简介及一个入门级实例
一、EF Code First简介 EntityFramework 代码优先 二、EF Code First第一个简单实例 1、开发环境及数据库说明 开发环境:Visual Studio 2010 Ultimate sp1 Sql Server 2008 R2 数据库:Northwind 2、实例代码结构 结构说明: App:控制台应用程序 Data:数据访问 Domain:实体类 3、安装Entity Framework 在Visual Studio编辑器中点击Tools -> Library Package Manager -> Package Manager Console,在Package Manager Console窗口中执行下面语句,安装最新版Entity Framework。 PM> Install-Package EntityFramework App层和Data层分别添加对EntityFramework的引用: 在App层安装EntityFramework之后,将自动添加App.config和packages.config文件。 App.config配置Entity Framework版本信息及数据库连接信息,修改其中数据连接信息以适应本地实际环境。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 packages.config现实当前项目使用的package: 1 2 3 4 4、实例代码 Domain中Category.cs 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace Northwind.Domain.Entities 7 { 8 public class Category 9 { 10 /// 11 /// 分类ID 12 /// 13 public int CategoryID { get; set; } 14 15 /// 16 /// 分类名称 17 /// 18 public string CategoryName { get; set; } 19 } 20 } Data中NorthwindContext.cs 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 using System.Data.Entity; 7 8 using Northwind.Domain.Entities; 9 10 namespace Northwind.Data 11 { 12 public class NorthwindContext : DbContext 13 { 14 public DbSet Categories { get; set; } 15 } 16 } App中Program.cs 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 using Northwind.Data; 7 using Northwind.Domain.Entities; 8 9 namespace Northwind.App 10 { 11 class Program 12 { 13 static void Main(string[] args) 14 { 15 Category c = new Category() { CategoryName = "电子数码" }; 16 17 using (NorthwindContext db = new NorthwindContext()) 18 { 19 db.Categories.Add(c); 20 db.SaveChanges(); 21 } 22 23 Console.WriteLine("Finish"); 24 Console.ReadKey(); 25 } 26 } 27 } 5、运行说明 由于在上面的数据库连接字符串中并未包含指定的数据库名称,运行成功之后,将在本地数据引擎中创建如下数据库和表: 数据库名称:Northwind.Data.NorthwindContext 表名称:Categories 6、示例代码附件
- 2014-04-22下载
- 积分:1