天天挂茶馆

挂茶馆易语言论坛

 找回密码
 立即注册
搜索
热搜: C++
查看: 4213|回复: 1

c++调用大漠系列:MFC与LUA交互实战_获得控件文本

[复制链接]
  • TA的每日心情
    郁闷
    2019-9-30 18:03
  • 签到天数: 33 天

    [LV.5]常住居民I

    25

    主题

    62

    帖子

    7576

    积分

    VIP会员

    Rank: 10Rank: 10Rank: 10

    积分
    7576
    发表于 2018-10-8 17:17:10 | 显示全部楼层 |阅读模式
    本帖最后由 1149 于 2018-10-9 16:05 编辑


    正在组织思路...
    [mw_shl_code=cpp,true]else if (isalpha(ls->current) || ls->current == '_' || ls->current > 0x80) {          /* identifier or reserved word */          TString *ts;          if (ls->current == 'L') {            next(ls);            if (ls->current == '"' || ls->current == '/'') {              read_wstring(ls, ls->current, seminfo);              return TK_WSTRING;            }            save(ls, 'L');          }          /* identifier or reserved word */          do {              if(ls->current > 0x80)              {                 save_and_next(ls);                 save_and_next(ls);              }              else                 save_and_next(ls);          } while (isalnum(ls->current) || ls->current == '_' || ls->current > 0x80);          ts = luaX_newstring(ls, luaZ_buffer(ls->buff),                                  luaZ_bufflen(ls->buff));          if (ts->tsv.reserved > 0)  /* reserved word? */            return ts->tsv.reserved - 1 + FIRST_RESERVED;          else {            seminfo->ts = ts;            return TK_NAME;          }        }

    ---------------------
    作者:chrisxie
    来源:CSDN
    原文:https://blog.csdn.net/chrisxie/a ... 290?utm_source=copy
    版权声明:本文为博主原创文章,转载请附上博文链接![/mw_shl_code]

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有帐号?立即注册

    x
    回复

    使用道具 举报

  • TA的每日心情

    2024-6-20 12:22
  • 签到天数: 9 天

    [LV.3]偶尔看看II

    3

    主题

    16

    帖子

    2457

    积分

    VIP会员

    Rank: 10Rank: 10Rank: 10

    积分
    2457
    发表于 2021-11-30 17:45:58 | 显示全部楼层
    实战 奥利给
    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    QQ|手机版| 蜀ICP备15031375号 川公网安备51030402000199号

    GMT+8, 2025-5-9 21:02 , Processed in 0.167604 second(s), 10 queries , File On.

    Powered by Discuz! X3.4

    © 2001-2017 Comsenz Inc.

    快速回复 返回顶部 返回列表