苏飞论坛

标题: 求助啊!!有关sscanf 还有指针 [打印本页]

作者: 自由人    时间: 2013-7-27 15:08
标题: 求助啊!!有关sscanf 还有指针
c# 中,我写了这段程序
sscanf(rxd[8],"%x",&v2);
结果报错:
the name sscanf does not exist in the current context

  byte bt = *(char*)(rxdata + k);
报错 Pointers and fixed size buffers may only be used in an unsafe context
请问有什么方法能解决呢,本人菜鸟啊。不胜感激





欢迎光临 苏飞论坛 (http://www.sufeinet.com/) Powered by Discuz! X3.4