13年8个月前IP:未同步
518422
5楼
getchar()


__CRT_INLINE int __cdecl __MINGW_NOTHROW getchar (void)
{
  return (--stdin->_cnt >= 0)
    ?  (int) (unsigned char) *stdin->_ptr++
    : _filbuf (stdin);
}

从stdin流读取的。。。取第一位


getch()

* Low level console I/O functions. Pretty please try to use the ANSI
* standard ones if you are writing new code.
_CRTIMP int __cdecl __MINGW_NOTHROW    getch (void);
_CRTIMP int __cdecl __MINGW_NOTHROW    getche (void);
评论
文号 / 518422

千古风流
名片发私信
学术分 7
总主题 163 帖总回复 2463 楼拥有证书:进士 学者 机友 笔友
注册于 2011/06/06 19:33:25最后登录 2026/10/29 22:21:30
主体类型:个人
所属领域:无
认证方式:手机号
IP归属地:0

个人简介

暂未填写
笔记
{{note.content}}
{{n.user.username}}
{{fromNow(n.toc)}} {{n.status === noteStatus.disabled ? "已屏蔽" : ""}} {{n.status === noteStatus.unknown ? "正在审核" : ""}} {{n.status === noteStatus.deleted ? '已删除' : ''}}
  • 编辑
  • 删除
  • {{n.status === 'disabled' ? "解除屏蔽" : "屏蔽" }}
我也是有底线的