搜索资源列表
用c编写的N*N的螺旋矩阵源代码
- /* 实现效果: 1 2 6 7 15 3 5 8 14 16 4 9 13 17 22 10 12 18 21 23 11 19 20 24 25 */ #include <stdio.h> #define N 5 //阶数,即N*N的螺旋矩阵 void main() { int i, j, num=1, a[N][N]; for(i=0; i<=N/2; i++) &nb
Desktop Applications With Ms Visual C 6.0
- This course is designed for individuals interested in developing their skills in Microsoft Visual C++ 6.0 while developing desktop applications. Topics include using the Microsoft Solutions Framework (MSF) building applications with the Microsoft Fou
c环境下的编译器
- 在c环境下的编译器 一.实验完成主要功能描述: 1.if语句 2.if_else语句 3.while语句 4.数组 5.函数调用 6.对外部函数printf的调用(用于打印) 二.测试环境 1.fedora core 4(OS) 2.lex version 2.5.4 3.yacc 4.gcc (GCC) 4.0.0 20050519 (Red Hat 4.0.0-8) -in the context of a compiler. Exper
新c++我们的呀
- 按时org,开放的网络天书! 基数排序是这样实现的: 假设需排序数列的取值...如果化成比较树可以知道,这样的排序算法复杂度的下限是O(N*lnN),而基数排序没有比较元素,所以所需排序时间就少了,我们... www.cnic.org/wiki/鍩烘暟鎺掑-time org, open network hieroglyphics! Sort base is achieved : a few assumptions need to sort out ... If the value into
Divide22.c
- 分治算法的实现,输入N个节点数据(如个在一条直线上则只有一个数,平面上则以数据对形式实现),可以得到其中距离最近的两点数据及其距离。-partition algorithm implementation, the importation of N-node data (eg 000 in a straight line only a few. while data on the plane on the form), which can be from 2:00 recent data and
C++Builder6.0
- C++ builder 6.0界面实例开发 实例1 界面图案演示 实例2 创建标题栏在左边的窗口界面 实例3 创建超级连接界面 实例4 创建不规则窗口界面 实例 5 创建可扩展对话框界面 实例6 创建NEO Skin 窗口界面 实例7 创建Windows2000 透明窗口界面 实例8 创建自画弹出式菜单界面 实例9 创建自画主菜单界面 实例10 创建自画窗口背景界面-C 6.0 interface builder examples examples of
liaotianshichengxu(C)
- 聊天室程序,winsock编程,虽然简单,但是都是精华-chat room procedures, protocols of programming, while simple, are the essence
Delphi.02Packer
- V2Packer code by tt.t with almost pure delphi first build @ 2006.4.15 看到過許多別人寫的殼,大多是asm,也有的是c。早就想試一試用比較“純”的delphi 寫會是什麼樣子,於是就有了V2Packer。 V2Packer斷斷續續寫了半個月的時間,資源部分代碼寫的很垃圾,只算是能用。PEAnalyst類 由於改變了思路,去掉了一些東西,現在成了PEHeader類的再包裝。 代碼中
LL(1)while
- 用C++做的LL(1)分析法的程序,大家先用着吧,比较好用吧-C do LL (1) analysis of the procedure, we first used to it, the more useful it
Inside The C++ Object Model
- Inside the C++ Object Model focuses on the underlying mechanisms that support object-oriented programming within C++: constructor semantics, temporary generation, support for encapsulation, inheritance, and "the virtuals"-virtual functions
while
- 否符合while语句的文法,或者能不能通过文法的开始符号推导出该语句。 (2) 该程序应该包括词法分析器,能对输入的语句进行词法分析,然后再对输出结果。词法分析器应能识别关键字,标示符,常量,操作符等。 (3) 该程序的语法分析器能对输入的语法进行分析,判断输入语句能否满足while循环语句的文法。通过简单优先的方法对语句进行分析,看能否能归约到文法的开始符号。 (4) 该程序的语义分析器就是对分析结果进行输出,要求输出结果是三地址形式的。-Compliance with the s
c_while
- C语言中while循环一般对初学者来说是容易搞混淆的,且不容易掌握。本文档详细讲述了C语言while循环的用法,供初学者参考。-While loop in C language is generally easier for beginners to engage in confusing and not easy to grasp. This document describes the usage of the while loop in C, reference for beginners
Linux-c
- linux c while 循环,linux gcc for the while,and the lettle programe.
While-loop-1-to-20
- C++ while loop excercise
while
- while loop testing in C-while loop testing in C++
C之指针复杂解析
- int * (* (*fun) (int *)) [10]这是一个可能会让初学者感到头晕目眩,感到恐惧的函数指针的声明,在熟练掌握C/C++的声明语法之前,不学习一定的规则,想理解好这类复杂声明是比较困难的。 C/C++所有复杂的声明结构,都是由各种声明的嵌套构成的,如何理解复杂指针声明,右左法则是一个很著名,很有效的方法,不过,右左法则其实并不是C/C++标准里面的内容,它是从C/C++标准的声明规定中归纳出来的方法,C/C++标准声明规则,是用来解决如何创建声明的,而右左法则是用来解决
Matlab&C
- Matlab和C混合编程,概念性介绍Matlab和C混合编程中的语法与函数,同时具体讲解混合编程的原理,便于Matlab和C混合编程的入门(Matlab and C mixed programming, conceptual presentation of Matlab and C mixed programming syntax and function, while explaining the principles of mixed programming, easy to Matlab
do-while-loop
- do and while loop in c
DO-WHILE语句翻译四元式
- 对DO-WHILE句型进行词法分析和语法分析,输出该语句的四元式(The lexical analysis and grammatical analysis of the DO-WHILE sentence patterns are used to output the four yuan form of the sentence)
C语言成像与光线追踪程序设计 .pdf
- 计算机图形在越来越多的领域得到了广泛的应用,而大多数个人计算机用户却因 缺乏基本的编程工具而不能在便宜的PC机上生成精美的计算机图形,本书旨在帮助 这些用户挖掘PC机潜在的图形设计能力,制做逼真的高质量计算机图形。 本书介绍了计算机图形学要求的向量和矩阵算术工具,讨论了光线追踪程序的生 成和使用,并给出了实际的C代码。此外,本书还对三维建模工具、提高图像质量的方 法及图形显示设备等做了介绍。(Computer graphics have been widely used in more and