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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? util.doc

?? tc3 考試系統(tǒng)
?? DOC
?? 第 1 頁 / 共 5 頁
字號(hào):

                    The registering routines each take one parameter; a
                    symbolic name defined in graphics.h. Each registering



                                   - 3 -






                    routine returns a nonnegative value if the driver or
                    font is successfully registered.

                    The following table shows the names to be used with
                    registerbgidriver and registerbgifont. It is a complete
                    list of drivers and fonts included with Turbo C++.


---------------------------------------------------------------------------
 Driver file     registerbgidriver      Font file   registerbgifont
 (*.BGI)         symbolic name          (*.CHR)     symbolic name
---------------------------------------------------------------------------

 CGA             CGA_driver             TRIP        triplex_font
 EGAVGA          EGAVGA_driver          LITT        small_font
 HERC            Herc_driver            SANS        sansserif_font
 ATT             ATT_driver             GOTH        gothic_font
 PC3270          PC3270_driver
 IBM8514         IBM8514_driver

---------------------------------------------------------------------------


------------------  Suppose you want to convert the files for the CGA
        An example  graphics driver, the gothic font, and the triplex font
------------------  to object modules, then link them into your program.
                    Here's what you do:

                    1. Convert the binary files to object files using
                       BGIOBJ.EXE, as shown in the following separate com-
                       mand lines:

                        bgiobj  cga
                        bgiobj  trip
                        bgiobj  goth

                       This creates three files: CGA.OBJ, TRIP.OBJ, and
                       GOTH.OBJ.

                    2. You can add these object files to GRAPHICS.LIB with
                       this TLIB command line:

                          tlib  graphics  +cga  +trip  +goth

                    3. If you don't add the object files to GRAPHICS.LIB,
                       you must add the object file names CGA.OBJ,
                       TRIP.OBJ, and GOTH.OBJ to your project list (if you
                       are using Turbo C++'s integrated environment), or to



                                   - 4 -






                       the TCC command line. For example, the TCC command
                       line would look like this:

                          TCC  niftgraf graphics.lib  cga.obj  trip.obj
                       goth.obj

                    4. You register these files in your graphics program
                       like this:

 If you ever get a      /* Header file declares CGA_driver, triplex_font &
      linker error      gothic_font */
   Segment exceeds      #include <graphics.h>
 64K after linking
   in some drivers      /* Register and check for errors (one never
     and/or fonts,      knows...) */
      refer to the
following section.      if (registerbgidriver(CGA_driver) < 0) exit(1);
                        if (registerbgifont(triplex_font) < 0) exit(1);
                        if (registerbgifont(gothic_font)  < 0) exit(1);

                        /* ... */

                        initgraph(....);     /* initgraph should be called
                                                after registering */

                        /* ... */


     The /F option  =======================================================

                    This section explains what steps to take if you get the
                    linker error Segment exceeds 64K (or a similar error)
                    after linking in several driver and/or font files
                    (especially with small- and compact-model programs).

                    By default, the files created by BGIOBJ.EXE all use the
                    same segment (called _TEXT). This can cause problems if
                    your program links in many drivers and/or fonts, or
                    when you're using the small or compact memory model.

                    To solve this problem, you can convert one or more of
                    the drivers or fonts with the BGIOBJ /F option. This
                    option directs BGIOBJ to use a segment name of the form
                    filename_TEXT, so that the default segment is not
                    overburdened by all the linked-in drivers and fonts
                    (and, in small and compact model programs, all the pro-
                    gram code). For example, the following two BGIOBJ com-




                                   - 5 -






                    mand lines direct BGIOBJ to use segment names of the
                    form EGAVGA_TEXT and SANS_TEXT.

                     bgiobj  /F  egavga
                     bgiobj  /F  sans

                    When you select /F, BGIOBJ also appends F to the target
                    object file name (EGAVGAF.OBJ, SANSF.OBJ, and so
                    forth), and appends _far to the name that will be used
                    with registerfarbgidriver and registerfarbgifont. (For
                    example, EGAVGA_driver becomes EGAVGA_driver_far.)

                    For files created with /F, you must use these far
                    registering routines instead of the regular
                    registerbgidriver and registerbgifont. For example,

                     if (registerfarbgidriver(EGAVGA_driver_far) < 0)
                     exit(1);
                     if (registerfarbgifont(sansserif_font_far)  < 0)
                     exit(1);


 Advanced features  =======================================================

                    This section explains some of BGIOBJ's advanced
                    features, and the routines registerfarbgidriver and
                    registerfarbgifont. Only experienced users should use
                    these features.

                    This is the full syntax of the BGIOBJ.EXE command line:

                       BGIOBJ  [/F] source destination public-name seg-name
                    seg-class

                    This table describes each component of the BGIOBJ com-
                    mand line.


                    -------------------------------------------------------
                    Component              Description
                    -------------------------------------------------------


                    /F or -F               This option instructs BGIOBJ.EXE
                                           to use a segment name other than
                                           _TEXT (the default), and to
                                           change the public name and
                                           destination file name. (See page



                                   - 6 -






                                           5 for a detailed discussion of
                                           /F.)

                    source                 This is the driver or font file
                                           to be converted. If the file is
                                           not one of the driver/font files
                                           shipped with Turbo C++, you
                                           should specify a full file name
                                           (including extension).

                    destination            This is the name of the object
                                           file to be produced. The default
                                           destination file name is
                                           source.OBJ, or sourceF.OBJ if
                                           you use the /F option.

                    public-name            This is the name that will be
                                           used in the program in a call to
                                           registerbgidriver or
                                           registerbgifont (or their
                                           respective far versions) to link
                                           in the object module.

                                           The public name is the external
                                           name used by the linker, so it
                                           should be the name used in the
                                           program, prefixed with an
                                           underscore. If your program uses
                                           Pascal calling conventions, use
                                           only uppercase letters, and do
                                           not add an underscore.

                    seg-name               This is an optional segment
                                           name; the default is _TEXT (or
                                           filename_TEXT if /F is
                                           specified)

                    seg-class              This is an optional segment
                                           class; the default is CODE.

                    -------------------------------------------------------

                    All parameters except source are optional. However, if
                    you need to specify an optional parameter, all the
                    parameters preceding it must also be specified.






                                   - 7 -






                    If you choose to use your own public name(s), you have
                    to add declaration(s) to your program, using one of the
                    following forms:

                     void public_name(void);        /* if /F not used, */
                                                    /* default segment name
                     used */

                     extern int far public_name[];  /* if /F used, or */
                                                    /* segment name not
                     _TEXT */

                    In these declarations, public_name matches the public-
                    name you used when converting with BGIOBJ. The
                    graphics.h header file contains declarations of the
                    default driver and font public names; if you use those
                    default public names you don't have to declare them as
                    just described.

                    After these declarations, you have to register all the
                    drivers and fonts in your program. If you don't use the
                    /F option and don't change the default segment name,
                    you should register drivers and fonts through
                    registerbgidriver and registerbgifont; otherwise, use
                    registerfarbgidriver and registerfarbgifont.

                    Here is an example of a program that loads a font file
                    into memory:

                     /* Example of loading a font file into memory */

                     #include <graphics.h>
                     #include <io.h>
                     #include <fcntl.h>
                     #include <stdio.h>
                     #include <conio.h>
                     #include <stdlib.h>
                     #include <process.h>
                     #include <alloc.h>

                     main()
                     {
                        void    *gothic_fontp;    /* points to font buffer
                     in memory */
                        int      handle;          /* file handle used for
                     I/O */
                        unsigned fsize;           /* size of file (and
                     buffer) */



                                   - 8 -






                        int errorcode;
                        int graphdriver;
                        int graphmode;

                     /* open font file */
                        handle = open("GOTH.CHR", O_RDONLY|O_BINARY);
                        if (handle == -1)
                        {
                           printf("unable to open font file 'GOTH.CHR'\n");
                           exit(1);
                        }
                     /* find out size of the file */
                        fsize = filelength(handle);
                     /* allocate buffer */
                        gothic_fontp = malloc(fsize);
                        if (gothic_fontp == NULL)
                        {
                          printf("unable to allocate memory for font file
                     'GOTH.CHR'\n");
                          exit(1);
                        }
                     /* read font into memory */
                        if (read(handle, gothic_fontp, fsize) != fsize)
                        {
                           printf("unable to read font file 'GOTH.CHR'\n");
                           exit(1);
                        }
                     /* close font file */
                        close(handle);
                     /* register font */
                        if (registerfarbgifont(gothic_fontp) !=
                     GOTHIC_FONT)
                        {
                           printf("unable to register font file
                     'GOTH.CHR'\n");
                           exit(1);
                        }

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品白丝jk白祙喷水网站| 精品一区二区久久久| 精品美女被调教视频大全网站| 成人av电影在线| 麻豆免费精品视频| 亚洲美女视频在线| 国产欧美一区二区精品性色| 日本黄色一区二区| 国产不卡视频在线播放| 免费亚洲电影在线| 亚洲成人免费电影| 亚洲欧美一区二区三区久本道91| 欧美成人精品3d动漫h| 欧美日韩高清影院| 在线免费观看一区| 91在线丨porny丨国产| 国产乱码一区二区三区| 日韩精品1区2区3区| 亚洲一区二区三区美女| 自拍偷拍亚洲欧美日韩| 国产午夜精品福利| 精品国产乱码久久久久久夜甘婷婷| 色婷婷综合久久| 成人一级片在线观看| 精品午夜久久福利影院| 日本不卡一区二区三区高清视频| 亚洲伊人色欲综合网| 国产精品盗摄一区二区三区| 亚洲精品亚洲人成人网在线播放| 国产精品美女一区二区| 国产欧美视频一区二区| 久久久亚洲高清| 久久久精品2019中文字幕之3| 欧美va在线播放| 精品国产伦理网| 2017欧美狠狠色| 久久亚洲精品小早川怜子| 精品少妇一区二区三区视频免付费 | 日本特黄久久久高潮| 亚洲自拍偷拍av| 亚洲精品福利视频网站| 亚洲日本va午夜在线影院| 亚洲日本在线天堂| 亚洲制服丝袜在线| 石原莉奈在线亚洲三区| 日韩激情视频在线观看| 美女精品一区二区| 激情欧美一区二区| 粉嫩一区二区三区性色av| 风间由美性色一区二区三区| 成人免费毛片app| 91在线免费视频观看| 色综合久久九月婷婷色综合| 91色porny在线视频| 91高清视频在线| 欧美日韩和欧美的一区二区| 欧美一区二区三区在线观看| 精品免费国产一区二区三区四区| 久久精品视频一区| 亚洲手机成人高清视频| 亚洲一区二区中文在线| 日本伊人色综合网| 国产福利不卡视频| 99riav一区二区三区| 欧美性色aⅴ视频一区日韩精品| 91.com视频| 国产亚洲综合av| 一区二区在线看| 麻豆成人av在线| 成人精品一区二区三区中文字幕| 91美女片黄在线| 欧美一区二区三区成人| 欧美激情在线免费观看| 亚洲图片欧美色图| 国产一区二区三区精品欧美日韩一区二区三区 | 欧美色精品在线视频| 日韩午夜av电影| 中文字幕在线不卡| 全国精品久久少妇| 99国内精品久久| 69av一区二区三区| 国产精品国产三级国产aⅴ无密码| 亚洲福利视频三区| 国产精品77777| 欧美色图激情小说| 亚洲国产精品av| 视频一区二区三区在线| 国产不卡在线播放| 91精品在线免费观看| 国产精品素人视频| 在线免费观看日韩欧美| 亚洲精品一区二区三区精华液 | 日韩经典中文字幕一区| 成人av免费网站| 精品久久久久久久久久久久久久久 | 中文av一区特黄| 亚洲国产中文字幕在线视频综合| 国产一区二区影院| 欧美日韩成人综合在线一区二区| 亚洲国产精华液网站w | 97精品国产97久久久久久久久久久久| 欧美二区乱c少妇| 亚洲天堂2014| 国产成人精品一区二区三区网站观看| 欧美日韩精品专区| 亚洲欧美激情小说另类| 国产高清精品在线| 欧美xxxxxxxx| 丝袜亚洲另类丝袜在线| 99国产精品国产精品毛片| 精品福利二区三区| 午夜视频一区二区| 欧美最猛性xxxxx直播| 国产精品久久久久四虎| 激情综合五月婷婷| 欧美日韩精品一二三区| 亚洲三级在线播放| 成人99免费视频| 久久先锋影音av| 美日韩一区二区| 这里只有精品99re| 日日摸夜夜添夜夜添精品视频 | 日韩免费看网站| 亚洲成人综合网站| 欧美日韩国产中文| 亚洲在线中文字幕| 在线观看日产精品| 亚洲与欧洲av电影| 欧美亚洲日本一区| 亚洲综合在线电影| 91视视频在线观看入口直接观看www | 精品视频999| 亚洲国产精品欧美一二99| 色婷婷亚洲精品| 亚洲黄色尤物视频| 欧美性猛片aaaaaaa做受| 亚洲综合偷拍欧美一区色| 日本韩国视频一区二区| 亚洲欧美日韩系列| 中文字幕视频一区| 972aa.com艺术欧美| 亚洲欧美日韩小说| 欧美三日本三级三级在线播放| 亚洲一卡二卡三卡四卡五卡| 91福利区一区二区三区| 亚洲成人综合视频| 日韩女优av电影在线观看| 美日韩一区二区| 精品国产一区二区三区忘忧草| 国产在线视视频有精品| 欧美激情在线一区二区三区| 色综合天天综合色综合av| 夜夜精品浪潮av一区二区三区| 欧美在线你懂得| 奇米精品一区二区三区四区| 日韩免费观看高清完整版在线观看| 麻豆精品一区二区三区| 精品国产一区二区国模嫣然| 粉嫩高潮美女一区二区三区 | 日韩精品每日更新| 久久综合一区二区| 成人高清伦理免费影院在线观看| 亚洲同性gay激情无套| 欧美日韩在线精品一区二区三区激情| 午夜激情综合网| 2022国产精品视频| 91在线高清观看| 天天影视网天天综合色在线播放 | 亚洲激情在线激情| 日韩欧美一区二区三区在线| 国产激情精品久久久第一区二区 | 午夜精品久久久久久| 久久奇米777| 色88888久久久久久影院野外| 日本成人中文字幕| 国产精品欧美综合在线| 欧美人xxxx| 不卡在线视频中文字幕| 午夜一区二区三区视频| 国产日本欧洲亚洲| 91精品1区2区| 国产一区二区三区精品欧美日韩一区二区三区| 国产精品久久久久影院色老大| 最近中文字幕一区二区三区| 日韩午夜激情免费电影| 91麻豆文化传媒在线观看| 久久国产婷婷国产香蕉| 亚洲免费观看高清完整| 久久综合色婷婷| 在线免费av一区| 国产精品系列在线观看| 视频一区二区中文字幕| 中文字幕制服丝袜一区二区三区 | 久久午夜国产精品| 欧美日韩一区国产| 国产成人av网站| 男女视频一区二区| 亚洲国产一二三| 日韩理论在线观看| 欧美激情综合网|