⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 iso.c

📁 This is program with source code to convert ascii text files to the maxicode barcode standard.
💻 C
📖 第 1 页 / 共 2 页
字号:
/* iso 3166 Country codes struct */typedef struct {       const char *country;       /* Country name      */       const char codes2l[ 2];    /* 2 letters codes   */       const char codes3l[ 3];    /* 3 letters codes   */       unsigned short int number; /* Number of country */} ISO3166CCS;static ISO3166CCS isoccs[] = {{ "Afghanistan, Islamic State of"               , "af", "afg",    4,} ,{ "Albania"                                     , "al", "alb",    8,} ,{ "Algeria"                                     , "dz", "dza",   12,} ,{ "American Samoa"                              , "as", "asm",   16,} ,{ "Andorra, Pricipality of"                     , "ad", "and",   20,} ,{ "Angola, Republic of"                         , "ao", "ago",   24,} ,{ "Anguilla"                                    , "ai", "aia",  660,} ,{ "Antarctica"                                  , "aq", "ata",   10,} ,{ "Antigua and Barbuda"                         , "ag", "atg",   28,} ,{ "Argentina"                                   , "ar", "arg",   32,} ,{ "Armenia"                                     , "am", "arm",   51,} ,{ "Aruba"                                       , "aw", "abw",  533,} ,{ "Australia"                                   , "au", "aus",   36,} ,{ "Austria"                                     , "at", "aut",   40,} ,{ "Azerbaijan"                                  , "az", "aze",   31,} ,{ "Bahamas"                                     , "bs", "bhs",   44,} ,{ "Bahrain"                                     , "bh", "bhr",   48,} ,{ "Bailiwicks of Guernsey"                      , "gg", "   ",    0,} ,{ "Bangladesh"                                  , "bd", "bgd",   50,} ,{ "Barbados"                                    , "bb", "brb",   52,} ,{ "Belarus"                                     , "by", "blr",  112,} ,{ "Belgium"                                     , "be", "bel",   56,} ,{ "Belize"                                      , "bz", "blz",   84,} ,{ "Benin"                                       , "bj", "ben",  204,} ,{ "Bermuda"                                     , "bm", "bmu",   60,} ,{ "Bhutan"                                      , "bt", "btn",   64,} ,{ "Bolivia"                                     , "bo", "bol",   68,} ,{ "Bosnia and Herzegowina"                      , "ba", "bih",   70,} ,{ "Botswana"                                    , "bw", "bwa",   72,} ,{ "Bouvet Island"                               , "bv", "bvt",   74,} ,{ "Brazil"                                      , "br", "bra",   76,} ,{ "British Indian Ocean Territory"              , "io", "iot",   86,} ,{ "Brunei Darussalam"                           , "bn", "brn",   96,} ,{ "Bulgaria"                                    , "bg", "bgr",  100,} ,{ "Burkina Faso"                                , "bf", "bfa",  854,} ,{ "Burundi"                                     , "bi", "bdi",  108,} ,{ "Cambodia, Kingdom of"                        , "kh", "khm",  116,} ,{ "Cameroon"                                    , "cm", "cmr",  120,} ,{ "Canada"                                      , "ca", "can",  124,} ,{ "Cape Verde"                                  , "cv", "cpv",  132,} ,{ "Cayman Islands"                              , "ky", "cym",  136,} ,{ "Central African Republic"                    , "cf", "caf",  140,} ,{ "Chad"                                        , "td", "tcd",  148,} ,{ "Chile"                                       , "cl", "chl",  152,} ,{ "China"                                       , "cn", "chn",  156,} ,{ "Christmas Island"                            , "cx", "cxr",  162,} ,{ "Cocos (Keeling) Islands"                     , "cc", "cck",  166,} ,{ "Colombia"                                    , "co", "col",  170,} ,{ "Comoros"                                     , "km", "com",  174,} ,{ "Congo"                                       , "cg", "cog",  178,} ,{ "Congo, The Democratic Republic of the"       , "cd", "cod",  180,} ,{ "Cook Islands"                                , "ck", "cok",  184,} ,{ "Costa Rica"                                  , "cr", "cri",  188,} ,{ "Cote D'Ivoire (Ivory Coast)"                 , "ci", "civ",  384,} ,{ "Croatia (Hrvatska)"                          , "hr", "hrv",  191,} ,{ "Cuba"                                        , "cu", "cub",  192,} ,{ "Cyprus"                                      , "cy", "cyp",  196,} ,{ "Czech Republic"                              , "cz", "cze",  203,} ,{ "Czechoslovakia (Officially deleted)"         , "cs", "   ",    0,} ,{ "Denmark"                                     , "dk", "dnk",  208,} ,{ "Djibouti"                                    , "dj", "dji",  262,} ,{ "Dominica"                                    , "dm", "dma",  212,} ,{ "Dominican Republic"                          , "do", "dom",  214,} ,{ "East Timor"                                  , "tp", "tmp",  626,} ,{ "Ecuador"                                     , "ec", "ecu",  218,} ,{ "Egypt"                                       , "eg", "egy",  818,} ,{ "El Salvador"                                 , "sv", "slv",  222,} ,{ "Equatorial Guinea"                           , "gq", "gnq",  226,} ,{ "Eritrea"                                     , "er", "eri",  232,} ,{ "Estonia"                                     , "ee", "est",  233,} ,{ "Ethiopia"                                    , "et", "eth",  231,} ,{ "Falkland Islands (Malvinas)"                 , "fk", "flk",  238,} ,{ "Faroe Islands"                               , "fo", "fro",  234,} ,{ "Fiji"                                        , "fj", "fji",  242,} ,{ "Finland"                                     , "fi", "fin",  246,} ,{ "France"                                      , "fr", "fra",  250,} ,{ "France, metropolitan"                        , "fx", "fxx",  249,} ,{ "French Guiana"                               , "gf", "guf",  254,} ,{ "French Polynesia"                            , "pf", "pyf",  258,} ,{ "French Southern Territories"                 , "tf", "atf",  260,} ,{ "Gabon"                                       , "ga", "gab",  266,} ,{ "Gambia"                                      , "gm", "gmb",  270,} ,{ "Georgia"                                     , "ge", "geo",  268,} ,{ "Germany"                                     , "de", "deu",  276,} ,{ "Ghana"                                       , "gh", "gha",  288,} ,{ "Gibraltar"                                   , "gi", "gib",  292,} ,{ "Greece"                                      , "gr", "grc",  300,} ,{ "Greenland"                                   , "gl", "grl",  304,} ,{ "Great Britain"                               , "gb", "gbr",  826,} ,{ "Great Britain (iso 3166 code is gb)"         , "uk", "gbr",  826,} ,{ "Grenada"                                     , "gd", "grd",  308,} ,{ "Guadeloupe"                                  , "gp", "glp",  312,} ,{ "Guam"                                        , "gu", "gum",  316,} ,{ "Guatemala"                                   , "gt", "gtm",  320,} ,{ "Guinea"                                      , "gn", "gin",  324,} ,{ "Guinea-Bissau"                               , "gw", "gnb",  624,} ,{ "Guyana"                                      , "gy", "guy",  328,} ,{ "Haiti"                                       , "ht", "hti",  332,} ,{ "Heard and MC Donald Islands"                 , "hm", "hmd",  334,} ,{ "Holy See (Vatican City State)"               , "va", "vat",  336,} ,{ "Honduras"                                    , "hn", "hnd",  340,} ,{ "Hong kong"                                   , "hk", "hkg",  344,} ,{ "Hungary"                                     , "hu", "hun",  348,} ,{ "Iceland"                                     , "is", "isl",  352,} ,{ "India"                                       , "in", "ind",  356,} ,{ "Indonesia"                                   , "id", "idn",  360,} ,{ "Iran, Islamic Republic of"                   , "ir", "irn",  364,} ,{ "Iraq"                                        , "iq", "irq",  368,} ,{ "Ireland"                                     , "ie", "irl",  372,} ,{ "Isle of Man"                                 , "im", "   ",    0,} ,{ "Israel"                                      , "il", "isr",  376,} ,{ "Italy"                                       , "it", "ita",  380,} ,{ "Jamaica"                                     , "jm", "jam",  388,} ,{ "Japan"                                       , "jp", "jpn",  392,} ,{ "Jersey"                                      , "je", "   ",    0,} ,{ "Jordan"                                      , "jo", "jor",  400,} ,{ "Kazakhstan"                                  , "kz", "kaz",  398,} ,{ "Kenya"                                       , "ke", "ken",  404,} ,{ "Kiribati"                                    , "ki", "kir",  296,} ,{ "Korea, Democratic People's Republic of"      , "kp", "prk",  408,} ,{ "Korea, Republic of"                          , "kr", "kor",  410,} ,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -