ChinaUnix.net
相关文章推荐:

栈桢(stack frame)

有函数A 。 当此函数出时会出现破碎。 十分郁闷 函数有如下语句 [quote]char temp[16]; memcpy(temp, bp, len); temp[len]='\0'; fprintf(stdout, "sport char %s\n", temp);[/quote] 上面的正常 可以按字符串形势打印出端口。 [quote]info->sourceport=atoi(temp); fprintf(stdout, "sport=%d\n", info->sourceport);[/quote] info->sourceport是个UINT32型。 上...

by wangqi0021 - C/C++ - 2009-03-19 12:35:33 阅读(1498) 回复(3)

相关讨论

堆(heap)和 stack)由那些区别,在使用子线程分配内存时有什么区别

by 大马虎 - C/C++ - 2004-12-02 18:32:30 阅读(916) 回复(5)
by jato - C/C++ - 2006-10-09 11:50:15 阅读(684) 回复(1)

#Lable demonstration. from Tkinter import * class LabelDemo( frame ): """Demonstrate Labels""" def _init_ ( self ): """Create three Labels and pack them""" frame._init_( self ) & initializes frame object # frame file available space self.pack(expand = YES. file = BOTH ) self.Label1 = Label( self, text = "Label with text" ) # resize frame t...

by rubee - Python - 2007-07-28 07:30:37 阅读(2002) 回复(1)

#!/usr/bin/env python # add stack datastructure # __author__ = "lynn lin" class UnderFlowError(Exception): pass class stack(object): def __init__(self): self.sta = [] def __len__(self): return len(self.sta) def stackEmpty(self): return self.__len__() def push(self,value): self.sta.append(value) def pop(self): try: ...

by linuxGentoo - Python文档中心 - 2007-12-26 19:17:21 阅读(1014) 回复(0)

现今,见到的比较多的ethernet frames有如下的四种: a. Ethernet II b. Ethernet 802.3 (Raw), aka Novell Ethernet c. Ethernet 802.3/802.2 by IEEE d. Ethernet SNAP ---------------------------------------------------------------------------------| Preamble | Dest MAC | Src MAC | Length/EtherType | Data | FCS |--------------------------------------------------------------------------...

by johnny_jiang - 网络技术文档中心 - 2007-09-01 15:53:12 阅读(440) 回复(0)

有两个frame 在一个frame中的textbox 输入后 提交 能不能在另一个frame中显示出来!!求教!

by dchao2000 - Web开发 - 2006-02-22 15:14:23 阅读(1344) 回复(4)

Inverse Arp Request When encapsulating other protocols the data field of the frame Relay packet contains a Network Level Protocol Identification (NLPID) which can be 0xCC (IP), 0x80 (Sub-Network Access Protocol - SNAP) or 0x81 (OSI). When a SNAP header is identified, the 3-byte Organisational Unique Identifier (OUI) and the 2-byte Protocol Identifier (PID) further identifies the protocol. ...

by johnny_jiang - 网络技术文档中心 - 2008-07-07 22:27:46 阅读(1162) 回复(0)

一,Where storage lives It's useful to visualize some aspects of how things are laid out while the program is running, in particular how memory is arranged. There are six different places to store data: Registers. This is the fastest storage because it exists in a place different from that of other storage...

by hanyh - Java文档中心 - 2007-05-22 22:05:13 阅读(1031) 回复(0)

是在vxworks的bsp阶段,bsp不能malloc大空间,查看config.h文件 #undef stack_SAVE #define stack_SAVE 512 /* maximum stack used to preserve */ 不知道同这个512有没有关系?没有板子,暂没办法测。所问一下

by zw2002 - C/C++ - 2007-02-02 20:52:57 阅读(1229) 回复(2)

Note: I only searched for C/C++ stacks and applications. There also exist a lot of stacks and applications for other programming languages, especially for java. If you are looking for Java stacks/applications, please ask Google. If you have any comments or interesting links, or do you want to report broken links, please contact me RTP stacks (mainly open source C/C++ stacks) jrtplib: C++; Licen...

by jobedward - 网络技术文档中心 - 2006-05-29 16:37:50 阅读(505) 回复(0)