Location:
Search - Optional 1
Search list
Description: 一个完整的C编译器源代码,
可以编译出windows下可执行的exe文件,程序不大,总共不到2w行代码,是学习C编译器的好例子。
Features
* SMALL! You can compile and execute C code everywhere, for example on rescue disks (about 100KB for x86 TCC executable, including C preprocessor, C compiler, assembler and linker).
* FAST! tcc generates x86 code. No byte code overhead. Compile, assemble and link several times faster than GCC.
* UNLIMITED! Any C dynamic library can be used directly. TCC is heading torward full ISOC99 compliance. TCC can of course compile itself.
* SAFE! tcc includes an optional memory and bound checker. Bound checked code can be mixed freely with standard code.
* Compile and execute C source directly. No linking or assembly necessary. Full C preprocessor and GNU-like assembler included.
* C script supported : just add '#!/usr/local/bin/tcc -run' at the first line of your C source, and execute it directly from the command line.
* With libtcc, you can use TCC as a backend for dynamic code generation.
Platform: |
Size: 382914 |
Author: wukercheng@yahoo.com.cn |
Hits:
Description: IN OUT PVOID SystemInformation, IN ULONG SystemInformationLength, OUT PULONG ReturnLength OPTIONAL); NTQUERYSYSTEMINFORMATION NtQuerySystemInformation; 从中可以看到,SystemInformationClass是一个类型信息,它大概提供了50余种信息,也就是我们可以通过这个函数对大约50多种 的系统信息进行探测或设置。SystemInformation是一个LPVOID型的指针,它为我们提供需要获得的信息,或是我们需要设置的系统信息。 SystemInformationLength是SystemInformation的长度,它根据探测的信息类型来决定。至于 ReturnLength则是系统返回的需要的长度,通常可以设置为空指针(NULL)。 首先,我们来看看大家比较熟悉的系统进程/线程相关的信息。这个题目在网上已经讨论了N多年了,所以我就不在老生常谈了,呵呵。那么就提出这个结构类型的定义: typedef struct _SYSTEM_PROCESSES { ULONG NextEntryDelta; //构成结构序列的偏移量; ULONG ThreadCount; //线程数目; ULONG Reserved1[6]; LARGE_INTEGER CreateTime; //创建时间; LARGE_INTEGER UserTime; //用户模式(Ring 3)的CPU时间; LARGE_INTEGER KernelTime; //内核模式(Ring 0)的CPU时间; UNICODE_STRING ProcessName; //进程名称; KPRIORITY BasePriority; //进程优先权; ULONG ProcessId; //进程标识符; ULONG InheritedFromProcessId; //父进程的标识符; ULONG HandleCount; //句柄数目; ULONG Reserved2[2]; VM_COUNTERS VmCounters; //虚拟存储器的结构,见下; IO_COUNTERS IoCounters; //IO计数结构,见下; SYSTEM_THREADS Threads[1]; //进程相关线程的结构数组,见下; 。。。。。
Platform: |
Size: 10385 |
Author: blackcorpse |
Hits:
Description: 声音录制与播放,可选录制格式-Voice recording and playback, optional recording format
Platform: |
Size: 48128 |
Author: wangwei |
Hits:
Description: 这个可视化的框架类支持具有不同组合的CView视图类、CSplitterWnd和CTabWnd类派生的SDI程序,本程序支持的特性包括: 支持单文档和多文档程序 任何视图、多分隔条和标鉴窗口的组合 支持嵌套的分隔条 支持简单的基于CView的程序 支持热键选择活动窗格 支持Ctrl+Tab来进行标签切换 支持列举窗口 标签可以在客户窗口的顶部或底部-visualization of the framework to support different types of combinations of CView View category, CSplitterWnd and CTabWnd category derived SDI procedures, The procedures for features include : support for single-and multi-file any document procedures View, more separation of the window and superscript Stephen support nested combination of the support of segregation based on a simple procedure CView support hotkeys election Optional activities pane support Ctrl Tab label switching to support listed in the window labeled client window or the top Bottom
Platform: |
Size: 62464 |
Author: 李杰 |
Hits:
Description: Suppose you wanted to give the user the ability to modify the size and position on a certain control? This example shows how to implement resizing controls on a dialog box as it is done when drawing controls on a dialog template or visual basic at design time. In order to accomplish this we can use the class CRectTracker to manage all the drawing and resizing of a rectangular frame which also has (optional) 6 resize handlers (as shown in the image above). The first thing, you ll need to do is to invoke a CRectTracker and specify given coordinates: -Suppose you wanted to give the user the ability to modify the size and position on a certain control This example shows how to implement resizing controls on a dialog box as it is done when drawing controls on a dialog template or visual basic at design time. In order to accomplish this we can use the class CRectTracker to manage all the drawing and resizing of a rectangular frame which also has (optional) 6 resize handlers (as shown in the image above). The first thing, you ll need to do is to invoke a CRectTracker and specify given coordinates:
Platform: |
Size: 10240 |
Author: 日报 |
Hits:
Description: 在线时间精灵 1.开机自动运行(可选),监视是否已连接上网络(这里的连接均指RAS拨号连接); 2.记录每次连接的起始和持续时间; 3.显示本次连接的持续时间、本日在线时间、本月在线时间; 4.保存并显示某日至今的在线时间明细,显示每日合计在线时间,每月合计在线时间和合计在线时间; 5.定期清除在线时间记录; 6.连接后定时保存一次连接时间http://bcdliang.vicp.net-online time, a genie. Boot automatic operation (optional), whether the surveillance has been connected to the Internet (the connection here refers to both dial-up RAS); 2. Records of the initial connect time and duration; 3. The link shows the duration of the day-time, this month online time; 4. the preservation and display of a certain date and detailed time-line showing the daily total online time, the monthly total online time, and the total online time; 5. regular removal of online time records; 6. after connecting to preserve a regular time to connect http:// bcdliang.vicp.net
Platform: |
Size: 167936 |
Author: |
Hits:
Description: VC拼图游戏,可选难度,可换图,可3D化-VC pieces of the jigsaw optional difficulty can change plans, 3D
Platform: |
Size: 446464 |
Author: 周浩 |
Hits:
Description: 一个选修课的作业-an optional practice
Platform: |
Size: 491520 |
Author: |
Hits:
Description: 一个可选窗口的多文档程序源代码-an optional multi-window file source code
Platform: |
Size: 2347008 |
Author: 张敏 |
Hits:
Description: 具有声音效果的动画桌面精灵,透明位图,可选声效-with sound effects animation desktop genies, transparent bitmap optional costume
Platform: |
Size: 688128 |
Author: 赵元榕 |
Hits:
Description: PCX文件查看,.pcx是在pc上成为位图文件存储标准的第一种图象文件格式,pcx文件分为三部分,依次为:pcx文件头,位图数据和一个可选的色表。-PCX,. Ai is on the pc as bitmap file storage of a standard image file format, ai document is divided into three parts, in descending order : nil file, bitmap data and an optional color.
Platform: |
Size: 37888 |
Author: 石飞 |
Hits:
Description: list控件,条目的颜色可选。可以根据自身喜好。包括所有源码。、-list controls, optional color entries. According to their own preferences. All source. ,
Platform: |
Size: 177152 |
Author: wlh |
Hits:
Description: \Optional Exercise 1_ssd5.rar
Platform: |
Size: 9216 |
Author: mvegajua |
Hits:
Description: ssd5 optional excesize 1作业-ssd5 optional excesize 1 job
Platform: |
Size: 944128 |
Author: Song |
Hits:
Description: ssd5的optional exercise4-optional exercise4 for ssd5
Platform: |
Size: 2338816 |
Author: Thomas_Wu |
Hits:
Description: optional exercise5 for ssd5
Platform: |
Size: 1232896 |
Author: Thomas_Wu |
Hits:
Description: 试设计一图书信息管理系统,使之能提供以下功能:
1、系统以菜单方式工作
2、图书信息录入功能(图书信息用文件保存)--输入
3、图书信息浏览功能--输出
4、图书信息查询功能--算法
查询方式
按书名查询
按作者名查询
5、图书信息的删除与修改(可选项)
-Try to design a library information management system so that it can provide the following functions: 1, 2 systems to work the way the menu, book information into the function (book information with the file)- Type 3, book information browsing- output 4, Book information query function- the title by way of query algorithm query by author name query 5, delete and modify the book information (optional)
Platform: |
Size: 738304 |
Author: 李龙 |
Hits:
Description: LL(1)语法分析器设计
1.如下为给定的LL(1)文法。
G[<P>]:
1) <P>->program <D> : <T> begin <S> end {program}
2) D->i D’ {i}
3) D’->, i D’ {,}
4) D’->ε {:}
5) S->s S’ {s}
6) S’-> s S’ { }
7) S’->ε {end}
8) T->real {real}
9) T->integer {integer}
其中右侧{}内为产生的可选集。
2.调试并完善如下给出的文法的LL(1)分析器示例程序,并设输入的文法的句子为:
program
i , i , i : integer
begin
s s s
end
给出输出结果并进行分析说明。
-1. Below for a given LL (1) grammar.
G [<P>]:
1) <P>-> program <D>: <T> begin <S> end {program}
2) D-> i D {i}
3) D ->, i D {,}
4) D -> ε {:}
5) S-> s S {s}
6) S -> s S { }
7) S -> ε {end}
8) T-> real {real}
9) T-> integer {integer}
{} within which the right to produce an optional set.
2. Debug and improve the grammar given in the following LL (1) analyzer sample program, and set the input sentence is the grammar:
program
i, i, i: integer
begin
s s s
end
Output and analysis are given instructions.
Platform: |
Size: 190464 |
Author: 浮云 |
Hits:
Description: Abstract Syntax Notation One (ASN.1)是一种独立于机器的描述语言,用于描述在网络上传递的消息
标准包括: ISO 8824-1 | ITU-T X.680: Specification of basic notation,
ISO 8824-2 | ITU-T X.681: Information object specification,
ISO 8824-3 | ITU-T X.682: Constraint specification,
ISO 8824-4 | ITU-T X.683: Parameterization of ASN.1
ASN.1特别适合表示现代通信应用中那些复杂的、变化的及可扩展的数据结构
ASN.1 可分为两个部分
语法规则:从数据类型、内容顺序或结构等方面来描述消息的内容
编码规则:如何编码实际消息中的数据
特点:
表达简单和复杂类型的能力
可对类型根据大小及(或)数值进行约束
也可以施加更强的约束
字段可标记为 OPTIONAL
大写开头表示类型名,小写开头的表示变量名/字段名
-asn.1 codec
Platform: |
Size: 269312 |
Author: 彭瑞 |
Hits:
Description: 制作电子图章,能够完成电子图章的制作,自选颜色和字体,保存等功能,良好的人机交互界面-Creation of an electronic seal, to complete the production of electronic seal, optional colors and fonts, save functions, a good man-machine interface
Platform: |
Size: 18432 |
Author: monica |
Hits:
« 12
3
4
5
6
7
8
9
10
...
50
»