搜索资源列表
scan
- //程序实现C语言词法分析器的设计 //用到的变量 // cch 放当前字符 // q 标志保留字(1:是 0:否) //StrToken 保留字列表 /*C语言中的保留字(32个) auto break case char const continue default do double else enum extern float for goto if int long register retu
code
- Design a class AbstractSort that can be used to analyze the number of comparisons performed by a sorting algorithm. The class should have a member function compare that is capable of comparing two array elements, and a means of keeping track of the n
NetowkrCards_Test
- /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package netowkrcards_test /** * * @author Cecilia */ public class NetowkrCards_Test { /** * @param args the command
Design-of-C_minus-lexical-analyzer
- 1、该个词法分析器要求至少能够识别以下几类单词: a.关键字:else if int return void while共6个,所有的关键字都是保留字,并且必须是小写; b.标识符:识别与C语言词法规定相一致的标识符,通过下列正则表达式定义:ID = letter (letter | digit)*; c.常数:NUM = digit digit*(.digit digit* |ε)(e(+ | - |ε) digit digit* |ε),letter = a|..|z|A|..|
vshader.glsl
- #version 130 in vec4 vPosition in vec4 vColor out vec4 color uniform int xsize uniform int ysize void main() { mat4 scale = mat4(2.0/xsize, 0.0, 0.0, 0.0, 0.0, 2.0/ysize, 0.0, 0.0, 0.0, 0.0, 1.0, 0