亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? genlib.h

?? c語言開發方面的經典問題,包括源代碼.c語言開發所要注意的問題,以及在嵌入式等各方面的應用
?? H
字號:
/* * File: genlib.h * Version: 1.0 * Last modified on Fri Jul 15 15:45:52 1994 by eroberts * ----------------------------------------------------- * This file contains several definitions that form the * core of a general-purpose ANSI C library developed by Eric * Roberts.  The goal of this library is to provide a basic * set of tools and conventions that increase the readability * of C programs, particularly as they are used in a teaching * environment. * * The basic definitions provided by genlib.h are: * *    1.  Declarations for several new "primitive" types *        (most importantly bool and string) that are *        used throughout the other libraries and *        applications as fundamental types. * *    2.  A new set of functions for memory allocation. * *    3.  A function for error handling. */#ifndef _genlib_h#define _genlib_h#include <stdio.h>#include <stdlib.h>#include <stddef.h>/* Section 1 -- Define new "primitive" types *//* * Type: bool * ---------- * This type has two values, FALSE and TRUE, which are equal to 0 * and 1, respectively.  Most of the advantage of defining this type * comes from readability because it allows the programmer to * provide documentation that a variable will take on only one of * these two values.  Designing a portable representation, however, * is surprisingly hard, because many libraries and some compilers * define these names.  The definitions are usually compatible but * may still be flagged as errors. */#ifdef THINK_C   typedef int bool;#else#  ifdef TRUE#    ifndef bool#      define bool int#    endif#  else#    ifdef bool#      define FALSE 0#      define TRUE 1#    else       typedef enum {FALSE, TRUE} bool;#    endif#  endif#endif/* * Type: string * ------------ * The type string is identical to the type char *, which is * traditionally used in C programs.  The main point of defining a * new type is to improve program readability.   At the abstraction * levels at which the type string is used, it is usually not * important to take the string apart into its component characters. * Declaring it as a string emphasizes this atomicity. */typedef char *string;/* * Constant: UNDEFINED * ------------------- * Besides NULL, the only other constant of pointer type is * UNDEFINED, which is used in certain packages as a special * sentinel to indicate an undefined pointer value.  In many * such contexts, NULL is a legitimate data value and is * therefore inappropriate as a sentinel. */#define UNDEFINED ((void *) undefined_object)extern char undefined_object[];/* Section 2 -- Memory allocation *//* * General notes: * -------------- * These functions provide a common interface for memory * allocation.  All functions in the library that allocate * memory do so using GetBlock and FreeBlock.  Even though * the ANSI standard defines malloc and free for the same * purpose, using GetBlock and FreeBlock provides greater * compatibility with non-ANSI implementations, automatic * out-of-memory error detection, and the possibility of * substituting a garbage-collecting allocator. *//* * Function: GetBlock * Usage: ptr = (type) GetBlock(nbytes); * ------------------------------------- * GetBlock allocates a block of memory of the given size.  If * no memory is available, GetBlock generates an error. */void *GetBlock(size_t nbytes);/* * Function: FreeBlock * Usage: FreeBlock(ptr); * ---------------------- * FreeBlock frees the memory associated with ptr, which must * have been allocated using GetBlock, New, or NewArray. */void FreeBlock(void *ptr);/* * Macro: New * Usage: p = New(pointer-type); * ----------------------------- * The New pseudofunction allocates enough space to hold an * object of the type to which pointer-type points and returns * a pointer to the newly allocated pointer.  Note that * "New" is different from the "new" operator used in C++; * the former takes a pointer type and the latter takes the * target type. */#define New(type) ((type) GetBlock(sizeof *((type) NULL)))/* * Macro: NewArray * Usage: p = NewArray(n, element-type); * ------------------------------------- * NewArray allocates enough space to hold an array of n * values of the specified element type. */#define NewArray(n, type) ((type *) GetBlock((n) * sizeof(type)))/* Section 3 -- Basic error handling *//* * Function: Error * Usage: Error(msg, ...) * ---------------------- * Error generates an error string, expanding % constructions * appearing in the error message string just as printf does. * After printing the error message, the program terminates. */void Error(string msg, ...);#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91免费看视频| 国产精品美女久久久久久久网站| 国产亚洲精品福利| 婷婷激情综合网| av午夜一区麻豆| 精品日韩99亚洲| 性做久久久久久免费观看欧美| 99免费精品视频| wwww国产精品欧美| 美女网站色91| 欧美日韩国产影片| 亚洲一区二区三区爽爽爽爽爽| 国产风韵犹存在线视精品| 日韩欧美国产三级电影视频| 亚洲永久免费视频| 色综合久久久久综合| 国产视频一区二区在线| 激情五月激情综合网| 日韩丝袜情趣美女图片| 婷婷丁香久久五月婷婷| 欧美性猛交xxxxxx富婆| 亚洲欧美韩国综合色| www.亚洲色图.com| 国产精品久久久久久久久图文区 | www日韩大片| 久久99在线观看| 日韩一级精品视频在线观看| 午夜精品123| 91精品蜜臀在线一区尤物| 亚洲v日本v欧美v久久精品| 欧美天天综合网| 亚洲国产精品一区二区尤物区| 欧美午夜精品一区二区蜜桃| 亚洲成av人片在线| 欧美日韩国产美女| 三级欧美韩日大片在线看| 欧美精品少妇一区二区三区| 琪琪一区二区三区| 日韩欧美国产系列| 国产jizzjizz一区二区| 亚洲欧洲性图库| 91成人国产精品| 日本一区中文字幕| 精品美女一区二区三区| 成人午夜av影视| 有码一区二区三区| 69精品人人人人| 精品一区二区在线播放| 中文字幕欧美日韩一区| 91网上在线视频| 天天综合天天做天天综合| 日韩精品专区在线影院观看| 国产乱人伦偷精品视频不卡| 国产精品第五页| 欧美日韩视频第一区| 久久国产夜色精品鲁鲁99| 亚洲国产成人自拍| 欧美视频第二页| 精品一区二区免费| 国产精品国产三级国产普通话蜜臀 | 99久久精品国产一区二区三区| 日韩美女啊v在线免费观看| 欧美色图天堂网| 精品一区二区免费看| 中文字幕一区二区三区视频| 欧美精品色一区二区三区| 国产成人午夜精品影院观看视频| 一区二区免费在线播放| 欧美大胆一级视频| 99国产欧美久久久精品| 久久99精品久久久久久久久久久久| 国产精品久99| 日韩欧美国产综合一区| 99视频精品免费视频| 老司机一区二区| 一区二区三区视频在线看| 欧美不卡激情三级在线观看| 色嗨嗨av一区二区三区| 国产米奇在线777精品观看| 亚洲国产wwwccc36天堂| 国产片一区二区| 日韩欧美的一区| 欧美精品一卡二卡| 91在线国产福利| 欧美日韩精品一区二区| 国产激情一区二区三区桃花岛亚洲| 一区二区三区四区乱视频| 国产欧美久久久精品影院| 日韩一区二区高清| 欧美无砖专区一中文字| av在线一区二区三区| 国产馆精品极品| 国产一区二区在线电影| 日韩一区精品字幕| 一区二区三区四区精品在线视频| 国产欧美精品一区| 欧美r级在线观看| 欧美电影在哪看比较好| 欧美影院精品一区| 欧洲中文字幕精品| av欧美精品.com| 福利视频网站一区二区三区| 开心九九激情九九欧美日韩精美视频电影| 一二三四区精品视频| 亚洲日本在线观看| 中文字幕在线一区二区三区| 国产欧美一区二区精品性色| 久久久久久综合| 久久亚洲综合av| 久久久欧美精品sm网站| 国产丝袜欧美中文另类| 国产精品情趣视频| 国产精品丝袜一区| 亚洲日韩欧美一区二区在线| 亚洲欧美日韩国产另类专区| 亚洲品质自拍视频| 亚洲永久精品大片| 五月婷婷色综合| 免费人成黄页网站在线一区二区| 视频一区欧美精品| 麻豆精品一二三| 九色porny丨国产精品| 韩国精品主播一区二区在线观看| 国产精品一卡二| 成人app在线观看| 91久久精品国产91性色tv| 欧美亚洲综合另类| 欧美一区二区三区免费观看视频| 日韩一区和二区| 国产三级一区二区| 亚洲色图欧洲色图| 五月天激情小说综合| 免费看日韩精品| 高清成人免费视频| 91福利视频网站| 亚洲三级在线看| 一区二区三区小说| 青青草视频一区| 国产精品乡下勾搭老头1| 91网址在线看| 制服.丝袜.亚洲.中文.综合| 久久一留热品黄| 国产精品国产自产拍高清av王其| 亚洲香肠在线观看| 激情六月婷婷综合| 欧美中文字幕一二三区视频| 日韩亚洲欧美在线观看| 欧美激情一区在线| 亚洲超碰精品一区二区| 国产精品一级在线| 精品视频1区2区| 国产日韩欧美高清| 亚洲成av人影院在线观看网| 国产福利一区二区三区| 欧美优质美女网站| 久久精品人人爽人人爽| 丝袜亚洲另类欧美| 成人99免费视频| 日韩精品一区二区三区四区| 亚洲人成人一区二区在线观看| 免费在线观看日韩欧美| 色狠狠色噜噜噜综合网| 国产欧美一区二区精品久导航 | 日韩精品一区二区三区四区视频| 中文字幕在线免费不卡| 加勒比av一区二区| 色88888久久久久久影院野外| 久久这里都是精品| 青青草原综合久久大伊人精品| 色呦呦国产精品| 国产精品麻豆久久久| 欧美日韩视频在线一区二区 | 日韩精品免费专区| 91一区二区三区在线观看| 日韩精品专区在线| 亚洲午夜免费视频| 在线观看国产精品网站| 中文字幕一区二区三区视频| 国产精选一区二区三区| 日韩网站在线看片你懂的| 婷婷夜色潮精品综合在线| 一本色道**综合亚洲精品蜜桃冫| 国产欧美一区二区三区在线老狼| 蜜桃久久av一区| 欧美久久久久久久久| 亚洲第一久久影院| 色综合一区二区| 亚洲精品中文字幕乱码三区| proumb性欧美在线观看| 中文字幕av资源一区| 国产精品一二三四区| 久久久久久99精品| 国产另类ts人妖一区二区| 久久亚洲私人国产精品va媚药| 麻豆精品蜜桃视频网站| 日韩精品一区二区在线| 美女视频网站久久| 精品欧美乱码久久久久久| 九九视频精品免费| 欧美经典三级视频一区二区三区|