虫虫首页|资源下载|资源专辑|精品软件
登录|注册

null-terminated

  • printf(" 请输入%d个课程的代表值(<%d个字符): " ,(*G).vexnum,MAX_NAME) for(i=0 i<(*G).vexnum ++i)

    printf(" 请输入%d个课程的代表值(<%d个字符):\n" ,(*G).vexnum,MAX_NAME) for(i=0 i<(*G).vexnum ++i) /* 构造顶点向量 */ { scanf(" %s" ,(*G).vertices[i].data) (*G).vertices[i].firstarc=NULL } printf(" 请输入%d个课程的学分值(<%d个字符):\n" ,(*G).vexnum,MAX_NAME) for(i=0 i<(*G).vexnum ++i) /* 构造顶点向量 */ {scanf(" %s" ,(*G).verticestwo[i].data) } printf(&quo

    标签: vexnum quot MAX_NAME printf

    上传时间: 2016-08-14

    上传用户:Avoid98

  • base64算法,前几天用来截获MSN协议时获取文件名时使用的。之前用的一个网上下下来的base64的源码

    base64算法,前几天用来截获MSN协议时获取文件名时使用的。之前用的一个网上下下来的base64的源码,解码总是错误。后来干脆自己写了一个。由于MSN协议解出来的字符串是UNICODE的,所以那些base64转换器解码后显示不出有用信息,中间被截断(null字符)。 里面包含两个项目(一个库,一个测试程序)

    标签: base 64 MSN 算法

    上传时间: 2016-08-27

    上传用户:Avoid98

  • wince EVC 简单的图片浏览功能,自已随意扩展 支持 *.bmp *.jpg *.gif *.png 等等 // TODO: Add your control notification

    wince EVC 简单的图片浏览功能,自已随意扩展 支持 *.bmp *.jpg *.gif *.png 等等 // TODO: Add your control notification handler code here CString defFilter("选中其中一个文件|*.bmp *.jpg *.gif *.png") CFileDialog dlg(TRUE,NULL,NULL,OFN_ALLOWMULTISELECT,defFilter) if(dlg.DoModal()==IDOK){ PathName=dlg.GetPathName() }

    标签: notification control wince TODO

    上传时间: 2016-09-22

    上传用户:gut1234567

  • The MAX481E, MAX483E, MAX485E, MAX487E–MAX491E, and MAX1487E are low-power transceivers for RS-485

    The MAX481E, MAX483E, MAX485E, MAX487E–MAX491E, and MAX1487E are low-power transceivers for RS-485 and RS-422 communications in harsh environments. Each driver output and receiver input is protected against ±15kV electrostatic discharge (ESD) shocks, without latchup. These parts contain one driver and one receiver. The MAX483E, MAX487E, MAX488E, and MAX489E feature reduced slewrate drivers that minimize EMI and reduce reflections caused by improperly terminated cables, thus allowing error-free data transmission up to 250kbps. The driver slew rates of the MAX481E, MAX485E, MAX490E, MAX491E, and MAX1487E are not limited, allowing them to transmit up to 2.5Mbps.

    标签: MAX transceivers 485 low-power

    上传时间: 2013-12-21

    上传用户:小宝爱考拉

  • 实现基本的购物车功能。 eclipse+sqlserver2005 1.主要强调了购物车的业务逻辑。 2

    实现基本的购物车功能。 eclipse+sqlserver2005 1.主要强调了购物车的业务逻辑。 2,利用javabean封装。比较适合jsp初学者。 3.简洁实用。可以在此基础上开发更加复杂功能的购物网站。 数据库建立 create database shop_db go use shop_db go create table t_sp ( s_id int identity(1,1) primary key, s_name varchar(20) not null, s_price money not null ) go insert into t_sp values( IBM笔记本电脑 , 19999 ) insert into t_sp values( Hp商务笔记本电脑 , 8666 ) insert into t_sp values( 精通JSP技术 , 236 ) insert into t_sp values( ASP.NET高级应用 , 156 ) insert into t_sp values( J2EE高级开发 , 126 ) insert into t_sp values( 华硕笔记本电脑 , 6789 ) go select * from t_sp go

    标签: sqlserver eclipse 2005 逻辑

    上传时间: 2013-12-19

    上传用户:netwolf

  • This demo shows the BER performance of linear, decision feedback (DFE), and maximum likelihood seque

    This demo shows the BER performance of linear, decision feedback (DFE), and maximum likelihood sequence estimation (MLSE) equalizers when operating in a static channel with a deep null. The MLSE equalizer is invoked first with perfect channel knowledge, then with an imperfect, although straightforward, channel estimation algorithm. The BER results are determined through Monte Carlo simulation. The demo shows how to use these equalizers seamlessly across multiple blocks of data, where equalizer state must be maintained between data blocks.

    标签: performance likelihood decision feedback

    上传时间: 2013-11-25

    上传用户:1079836864

  • /* 实现一个图类

    /* 实现一个图类,通过增加结点关系而增加结点,通过创建新关系而覆盖旧关系 能在DOS窗口打印图结点列表和结点边列表 初始化的时候 结点表首指针置为NULL,在释放图对象的时候,析构函数实现释放结点和边结点 */

    标签:

    上传时间: 2016-11-23

    上传用户:xiaohuanhuan

  • pstmt = conn.prepareStatement("select ordernumber,datetime,price,dayofmoney from zujie where ordernu

    pstmt = conn.prepareStatement("select ordernumber,datetime,price,dayofmoney from zujie where ordernumber= "+ cdName + " ") rs=pstmt.executeQuery() if(rs!=null && rs.next()){ String datetime = rs.getString(2) java.text.SimpleDateFormat formatter = new java.text.SimpleDateFormat ("yyyy-MM-dd") Date date = new Date() String date1=formatter.format(date) ParsePosition pos = new ParsePosition(0) ParsePosition pos1 = new ParsePosition(0) Date dt1=formatter.parse(datetime,pos) Date dt2=formatter.parse(date1,pos1) Long l = (dt2.getTime()-dt1.getTime())/(3600*24*1000)+1 double price = rs.getDouble(3) double dayofmoney=rs.getDouble(4) double dayofmoneybuy=dayofmoney*l double otherMoney = price-dayofmoneybuy request.setAttribute("price", price) request.setAttribute("l", l) request.setAttribute("dayofmoney", dayofmoneybuy) request.setAttribute("otherMoney", otherMoney)

    标签: prepareStatement ordernumber dayofmoney datetime

    上传时间: 2013-12-13

    上传用户:zsjinju

  • 线程描述。主程序创建两个线程myThread1 和 myThread2

    线程描述。主程序创建两个线程myThread1 和 myThread2 ,每个线程打印一句话。使用pthread_create(&id,NULL,(void *) thread,NULL)完成。 先定义每个线程的执行体,然后在main中创建几个线程,最后主线程序等待子线程序结束后再退出。 2、创建两个线程,分别向线程传递如下两种类型的参数

    标签: myThread1 myThread2 线程 程序

    上传时间: 2016-12-14

    上传用户:米卡

  • /* 在这里我们连接 "destroy" 事件到一个信号处理函数。 * 对这个窗口调用 gtk_widget_destroy() 函数或在 "delete_event" 回调函数中返回 FALS

    /* 在这里我们连接 "destroy" 事件到一个信号处理函数。 * 对这个窗口调用 gtk_widget_destroy() 函数或在 "delete_event" 回调函数中返回 FALSE 值 * 都会触发这个事件。*/ g_signal_connect (G_OBJECT (window), "destroy", G_CALLBACK (destroy), NULL) /* 设置窗口边框的宽度。*/ gtk_container_set_border_width (GTK_CONTAINER (window), 10) /* 创建一个标签为 "Hello World" 的新按钮。*/ button = gtk_button_new_with_label ("hello world") /* 当按钮收到 "clicked" 信号时会调用 hello() 函数,并将NULL传给 * 它作为参数。hello() 函数在前面定义了。*/ g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (hello), NULL)

    标签: gtk_widget_destroy delete_event destroy FALS

    上传时间: 2016-12-26

    上传用户:zsjinju