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

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

?? mfpshare.doc

?? 多格式數(shù)據(jù)錄入庫  
?? DOC
?? 第 1 頁 / 共 5 頁
字號:
      Determines if there is another line of text to be displayed for this
      field. It treats the help_txt variable as a two dimensional array. When
      the array points to a zero value it indicates that we are at the end of
      the help text for this field. The first array dimension is indexed by
      the mfp_field variable which indicates what field number we are at any
      given point. The second dimension indexes which line of text is being
      referenced.

    Line 258:

      Displays the line of text pointed to by the two dimensional pointer,
      help_txt. The 'x' indexer is post incremented to point to the next line.

    Lines 255 - 258:

      Loop until a zero value is resolved. This zero is stored at the end of
      each field help string set.

                                      24


MFP RUN TIME ERROR MESSAGES

    MFP generates very few run time messages, mostly because of its
    structure. The error checking that MFP does perform is mostly limited
    to the mfp() function itself and primarily only to picture formatting
    and input field declaration. MFP will not generate field overflow or
    other like messages - it is only concerned about your definitions, which
    are hard-coded by you. Unless you write self-modifying code, you should
    not expect messages from MFP. If you do get messages from MFP and you
    know that your declarations are correct, be on the lookout for ill-
    behaved memory usage. For instance, when you clear an array's contents
    make sure you are remaining within its boundries, if you go beyond, you
    will be destroying possible string space or even worse, the program itself.

*ERROR* Picture Format Invalid ->  <your format here>

        This error is generated when mfp is extracting the variable type
        out of your picture string. No match was found for the nine data
        types that mfp supports. Mfp expects the following data types and
        cannot understand any others - also watch out for upper and lower
        case. Any picture format that begins with a "%" symbol is assumed
        by mfp() to be a numeric and will be type checked as one and must
        have the following type identifiers at the end of the picture
        string : "ld","hd","d","lu","u","Lf","lf","f". If your picture
        string begins without the "%" symbol, mfp() will assume that the
        entry is a character string or array.

*ERROR* Missing format length ->  <your format here>

        This error is generated when mfp is setting up the input field
        length. This error occurs only on numeric entry fields. If you
        neglected to pass a length modifier in your picture format, you
        can expect to see this error message. Numeric entry picture strings
        MUST have a length modifier so mfp() can build an entry field of
        that size for your user to input the data. The mfp() function makes
        no assumptions about field length for any numeric type. A properly
        declared picture for a five digit unsigned long integer would look
        like "%5lu". Mfp uses the '5' to build an entry field five characters
        in length.

*ERROR* Length too short ->  <your format here>

        This error occurs only on floating point numeric entry with a
        decimal point involved in the picture. When mfp() gets the field
        length and the number of digits to the right of the decimal point,
        it checks to see if you have given enough room in the field length
        for the sign, decimal point itself, and one digit to the left. This
        means that mfp() needs at least a field length of three digits more
        than the number of digits to the right of the decimal. For example
        if you wanted to define a field for the entry of a floating point
        number that had four decimal digits to the right of the decimal,
        the minimum field length would be seven digits, "%7.4f". If you
        were to define a field as, "%10.8lf", mfp() would give you this
        error message because it couldn't build the field in ten digits and
        work properly. The proper definition would be, "%11.8lf" or "%10.7lf".
        The above examples are only minimums, you may exceed the minimums as
        your application demands, ie; "%12.2lf","%10.2Lf","%4.0f","%5f"...

                                      25

===============================================================================

MENU

===============================================================================

Function        User menu function with HOT key support.

Syntax          int menu( MENU **menulist, PROC **proclist )

Prototype in    mfp.h

Remarks         Returns an integer value representing the menu option selected.
                The return value would be from zero to N - 1. If the user
                presses the escape key, a value of -1 is returned.

                The menu() function presents to the user your menu and the help
                text if provided. The user knows which menu option he is at
                by menu() highlighting the current option. The user navigates
                through the menu list via the standard cursor keys. The user
                may also select an option by pressing the appropriate key, 
                this immediatly selects the option with one keypress. The user
                may also press the escape key and menu() will return with a -1.
                When the user cursors over to the wanted selection, he must
                press enter to validate the selection and menu() returns with
                the integer value of his selection.

                The menu() function also supports HOT key PROC's. You must
                provide a PROC list, exactly as in mfp(). If the user presses
                a PROC key, the menu() function will execute the PROC and
                return back to the menu when completed.

                The menu() function requires a MENU list. This list is a
                group of menu items in the order of value you want returned.
                The first item of a menu list, if selected, will have a value
                of zero; the second item will have a value of one; and so-on
                for the rest. The MENU list MUST be terminated with a zero to
                identify the end of the list.

                The menu() function can accept a PROC list for HOT key PROC
                capability. If you don't wan't PROC key support you must
                pass a zero as the PROC parameter.

















                                      26

                                                                        menu

    MENU ITEM DEFINITION:

                Each menu item is defined using the typedef MENU. This
                simplifies your coding and makes defining a menu a snap.

                An example menu item is defined as follows:

                MENU item1[] = { 10, 20, "Edit", 'E', "Edit the above data." };

                The typedef MENU is followed by an item name which must be
                unique. The item must be declared as an array. The array is
                to be defined by direct assignment using the equals symbol
                followed by an open brace.

                The first parameters in the braces are the row and column
                respectively. This is the row and column where this item will
                appear on the screen.

                The next parameter is the item text that will be displayed.

                Following the item text is the alternate keyboard key that
                can also be used to select this item. If this key is pressed,
                this item will be selected and menu() will return with this
                menu item's value. This parameter MUST be uppercase, because
                the keyboard input will be converted to uppercase for testing.

                Last but not least, is the optional help text that will be
                displayed when this menu item is highlighted. If you do not
                want any help text to be displayed, you must place a zero in
                this parameter.

                Finally the menu declaration must be terminated with a close
                brace and a semicolon.

    THE MENU LIST:

                The menu list directs menu() to show the menu items in the
                order you established in the list, the return value starting
                from zero indicates the selection the user made, the first item
                in the menu list being zero and the last; N - 1. The menu list
                MUST be terminated with a zero. The menu list must be declared
                with the typedef MENU as an array of pointers.

                MENU *menulist[] = { item1, item2, item3, 0 };

    THE MENU COLOR:

                The menu function defaults to a white on black menu with
                the highlighted selection being black on white. This can
                be altered by changing the value of the following global
                variables that menu() uses:

                    MENNORMFG   This is the normal menu foreground attribute.
                    MENNORMBG   This is the normal menu background attribute.
                    MENLITEFG   This is the highlighted foreground attribute.
                    MENLITEBG   This is the highlighted background attribute.

                                      27

                                                                        menu
    THE HELP TEXT:

                The help text parameter is displayed when the user
                navigates to a menu item that has a help text line
                declared other than a zero. This text must not go beyond
                the 80th column. The help text line is cleared before
                the text is displayed so shorter lines won't appear with
                the remnents of a previous longer line.

                The help text is defaulted to be displayed on row 25
                column 1 with a WHITE on BLACK attribute with a maximum
                text length of 80 characters.

                The help text position and attributes can be changed by
                modifying the contents of the following global variables:

                    MENHLPROW   This is a global integer that is used for
                                the row position of the menu help text.

                    MENHLPCOL   This global integer is used for the column
                                position of the menu help text.

                    MENHLPLEN   This global integer is used to determine
                                the maximum length of the help text. This,
                                plus the MENHLPCOL, cannot extend past column
                                80 on the screen. MENHLPCOL + MENHLPLEN <= 80

                    MENHLPFG    This global integer is used for the foreground
                                attribute of the help text color.

                    MENHLPBG    This global integer is used for the background
                                attribute of the help text color.

                The above variables are declared in the mfp library and
                prototyped for you in mfp.h. To change one or more of the
                the above items you only need to assign the value with an
                assignment statement, ie;
                                            MENHLPROW = 2;

                This assignment changed the help text row to row 2. Any
                changes to these variables are global and remain until
                changed again.


    MENU INITIAL POSITIONING:

                The initial menu selection can be preset within the
                range of menu options present.

                MENSELPOS   --  This is the global menu initial position
                                variable. It is normally set to (-1), this
                                makes the menu start at the top item. Any
                                other value of 0 to n-1 will highlite the
                                appropriate selection.

                The menu function does not modify the value of MENSELPOS.
                MENSELPOS is a signed integer.

                                      28

                                                                        menu

EXAMPLE:


                #include <stdio.h>
                #include <mfp.h>

                MENU item1[] = { 10,20, "1) Accounts receivable.", '1', 0 };
                MENU item2[] = { 12,20, "2) Accounts payable....", '2', 0 };
                MENU item3[] = { 14,20, "3) Payroll.............", '3', 0 };
                MENU item4[] = { 16,20, "4) General ledger......", '4', 0 };
                MENU item5[] = { 20,20, "Exit...................", 'Q', 
                                        "Exit this program to DOS..." };

                MENU *mainmenu[] =  {
                                        item1, item2, item3, item4, item5, 0
                                    };


                void main( void )
                {
                    int menu_sel;

                    do
                    {
                        clrscr();

                        menu_sel = menu( mainmenu, 0 );

                        switch( menu_sel )
                        {
                            case 0:
                                    accrecv();
                                    break;
                            case 1:
                                    accpay();
                                    break;
                            case 2:
                                    payroll();
                                    break;
                            case 3:
                                    genldgr();
                                    break;
                            default:
                                    break;
                        }

                    } while( menu_sel != 4 && menu_sel != -1 );

                    return;
                }







                                      29

===============================================================================

PIC

===============================================================================

Function        Single line character entry with picture formatting.

Syntax          char *pic( char *data, char *picture )

Prototype in    mfp.h

Remarks         

                Pic() returns a pointer to the character string provided as
                the data parameter. It acts as a replacement for gets(),
                with all the line editing features of mfp(). A character
                picture string is required. Pic() terminates when the user
                presses the enter or escape key. Since the same keys are used
                for editing as in mfp(), pic is an ideal choice for single
                field entry.

                The escape key clears the input field and pic terminates.

                Pic() pads any trailing white space with

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产一区二区精品在线观看| 蜜臀av性久久久久av蜜臀妖精| 欧美日韩视频不卡| 亚洲欧美一区二区视频| 精品一区免费av| 国产日韩精品一区二区浪潮av | 欧美日韩大陆一区二区| 亚洲大尺度视频在线观看| 在线播放中文一区| 日本不卡1234视频| 国产欧美综合色| 色哟哟国产精品| 丝袜美腿亚洲一区二区图片| 日韩欧美一级精品久久| 懂色av一区二区夜夜嗨| 亚洲欧美日韩国产综合| 欧美精品丝袜久久久中文字幕| 美女久久久精品| 国产精品视频一二| 欧美综合欧美视频| 久久精品99国产国产精| 中文字幕一区二区三区在线不卡 | 久久久美女毛片| 色哟哟欧美精品| 久久国产成人午夜av影院| 国产精品系列在线| 欧美高清视频一二三区| 国产91丝袜在线18| 亚洲高清不卡在线| 久久久av毛片精品| 欧美色图12p| 成人h动漫精品一区二| 亚洲午夜免费视频| 国产日韩欧美电影| 91精品婷婷国产综合久久性色| 国产美女一区二区| 视频在线观看一区| 亚洲色图20p| 精品999久久久| 在线免费观看视频一区| 国产精品18久久久| 人禽交欧美网站| 亚洲品质自拍视频| 国产喷白浆一区二区三区| 欧美一区二区三区在线观看| 91美女视频网站| 丁香六月久久综合狠狠色| 天堂影院一区二区| 亚洲一区二区三区视频在线| 国产无遮挡一区二区三区毛片日本| 欧美唯美清纯偷拍| 91网页版在线| 国产成人精品www牛牛影视| 日韩**一区毛片| 夜夜精品浪潮av一区二区三区| 国产日韩欧美高清| 久久免费看少妇高潮| 日韩视频永久免费| 91麻豆精品国产综合久久久久久| 风间由美一区二区三区在线观看| 免费不卡在线视频| 亚洲小说春色综合另类电影| 亚洲欧洲制服丝袜| 国产精品萝li| 欧美国产精品专区| 26uuu久久综合| 日韩欧美区一区二| 欧美一级夜夜爽| 欧美嫩在线观看| 欧美日韩在线电影| 欧美日韩二区三区| 91精品在线麻豆| 在线播放一区二区三区| 欧美顶级少妇做爰| 日韩一区二区不卡| 欧美精品久久一区| 欧美一级欧美一级在线播放| 欧美日韩国产精品成人| 欧美日韩国产首页| 欧美电影一区二区| 日韩免费在线观看| xnxx国产精品| 久久久不卡影院| 国产精品久久久久久一区二区三区| 日本一区免费视频| 亚洲欧美怡红院| 亚洲最新在线观看| 天天综合网 天天综合色| 亚洲成在人线免费| 卡一卡二国产精品| 国产精品1区二区.| 91美女福利视频| 在线观看国产一区二区| 制服视频三区第一页精品| 欧美成人猛片aaaaaaa| 国产午夜精品久久久久久免费视| 2017欧美狠狠色| 国产精品福利一区| 亚洲成av人综合在线观看| 蜜臀久久99精品久久久久宅男| 日本怡春院一区二区| 国产乱码精品一区二区三区av| 粉嫩av一区二区三区| 色菇凉天天综合网| 91麻豆精品国产91| 久久久久久97三级| 一级精品视频在线观看宜春院| 视频在线观看91| 国产成人精品午夜视频免费 | 日本韩国一区二区三区视频| 欧美区在线观看| 久久综合九色综合97婷婷| 亚洲六月丁香色婷婷综合久久 | 久热成人在线视频| 成人美女在线视频| 欧美日韩国产天堂| 国产精品色在线| 日韩av二区在线播放| 成人国产精品免费| 欧美一级免费大片| 亚洲天堂成人在线观看| 午夜精品久久一牛影视| 成人污视频在线观看| 欧美日韩国产成人在线免费| 国产日本一区二区| 日本不卡的三区四区五区| 成人aaaa免费全部观看| 日韩欧美一区二区在线视频| 中文字幕一区二区三区四区| 视频一区二区三区入口| av亚洲精华国产精华| 日韩视频免费观看高清完整版在线观看 | 国产成人av一区| 欧美狂野另类xxxxoooo| 欧美激情在线看| 久久成人羞羞网站| 欧美日韩一卡二卡三卡| 国产精品日日摸夜夜摸av| 欧美96一区二区免费视频| 色综合久久中文综合久久牛| 精品久久久久一区| 成人av网站在线观看免费| 日韩免费高清电影| 亚洲中国最大av网站| 99久久99久久久精品齐齐 | 精品国产一区二区亚洲人成毛片| 亚洲精品国产a| 成人激情综合网站| 久久综合色综合88| 美女一区二区三区| 欧美电影影音先锋| 亚洲午夜在线电影| 色婷婷久久久综合中文字幕| 国产欧美综合在线观看第十页 | 一区二区三区四区不卡在线| 国产成人精品免费一区二区| 精品久久人人做人人爰| 麻豆国产欧美一区二区三区| 欧美日韩国产精品成人| 亚洲第一福利视频在线| 在线免费视频一区二区| 亚洲精品日韩一| 色婷婷综合久久久中文一区二区| 国产精品国产a| 91浏览器在线视频| 亚洲私人黄色宅男| 91视频观看免费| 亚洲精品欧美在线| 91久久精品日日躁夜夜躁欧美| 亚洲视频香蕉人妖| 一本大道久久精品懂色aⅴ | 精品久久久久久久久久久院品网 | 懂色av一区二区三区免费看| 国产日韩亚洲欧美综合| 成人在线综合网站| 中文字幕一区二区三区四区| av在线播放成人| 亚洲欧美一区二区三区国产精品| 99麻豆久久久国产精品免费 | 久久一区二区三区国产精品| 久久国产欧美日韩精品| 亚洲一区在线观看免费 | 日韩精品1区2区3区| 欧美一卡二卡在线观看| 国内不卡的二区三区中文字幕| 精品成人在线观看| 成人性视频网站| 亚洲欧美经典视频| 欧美视频精品在线观看| 日本不卡1234视频| www一区二区| 色综合久久久网| 午夜久久久久久| 精品国产百合女同互慰| 国产不卡一区视频| 亚洲一区二区在线视频| 欧美一区日本一区韩国一区| 国产福利一区在线观看| 一区二区三区在线视频观看 | 欧美mv日韩mv亚洲|