//图的运算的实现文件graph2.cpp #include"graph2.h" //构造函数,初始化图的邻接矩阵与边集数组 adjMList::adjMList(RCW GE[],int n,int e) {int i,j; for(i=0; i
GE+FANUC 源代码
汇集 GE+FANUC 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
#!/bin/sh # Script name: tellme echo -n "How old are you? " read age if [ $age -lt 0 -o $age -gt 120 ] then echo "Welcome…
//---------------------------------------------------------- //注意:LCD1602为字符型的 所以要显示的必须是字符 // 在显示做计数时,初值要是 字符型的 如 :'0' 而不是:…
//图的运算的实现文件graph3.cpp #include #include #include #include"3_1.h" //构造函数,初始化图的邻接矩阵与边集数组 adjMList::adjMList(RCW GE[],int n,int…
18、本程序演示一个5位数,判断它是不是回文数。即12321是回文数,个位与万位相同,十位与千位相同。 [源程序] main( ) { long ge,shi,qian,wan,x; scanf("%ld",&x); wan=x/1000…
#include #define uchar unsigned char #define uint unsigned int sbit LED1=P2^4; sbit LED2=P2^5; sbit LED3=P2^6; sbit DP=P2^7…
library ieee; use ieee.std_logic_1164.all; use ieee.std_logic_unsigned.all; entity zhengshu is port(clk,reset,stop :in s…
library ieee; use ieee.std_logic_1164.all; use ieee.std_logic_unsigned.all; entity lichengji1 is port(clk,reset,stop :in …
#include #include #include // #include const int MaxVertexNum=30; const int MaxValue=50…
function c = ge(a,b) if isa(a,'dataset') & ~isa(b,'dataset') c = a; c.d = a.d >= b; elseif ~isa(a,'dataset') & isa(b,'dataset') …