会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
DoubleLi
qq: 517712484 wx: ldbgliet
博客园
::
首页
::
博问
::
闪存
::
新随笔
::
联系
::
订阅
::
管理
::
公告
2014年10月8日
Hex string convert to integer with stringstream
摘要: #include #include int main() { unsigned int x; std::stringstream ss; ss > x; // output it as a signed type std::cout (x) << std::end...
阅读全文
posted @ 2014-10-08 23:24 DoubleLi
阅读(422)
评论(0)
推荐(0)
一个HexToInt的C/C++函数
摘要: int BetterVenca25(char* hex){ int res=0; for(;*hex;hex++) { int d=toupper(*hex); if(d >='0' && d ='A' && d <='F')d-='A'-10; else return -1; res=res*16...
阅读全文
posted @ 2014-10-08 23:21 DoubleLi
阅读(837)
评论(0)
推荐(0)
gdb图形化调试工具总结
摘要: gdb除了命令行方式等的调试之外,还有图形化的调试工具,下面列举一些供参考1:insight2: ddd3: kgdb4: xxgdb其它的工具欢迎补充
阅读全文
posted @ 2014-10-08 23:17 DoubleLi
阅读(1448)
评论(0)
推荐(0)