摘要:
出现问题:当没有给字符串留'\0'的位置时候会出现的奇怪错误 int m_nParam1; //第一位参数为1或者0 char m_szParam2[6]; //第二位参数为股票代号 scanf("%d|",&m_nParam1); printf("%d\n",m_nParam1); scanf("%[0-9]|",m_szParam2); printf("%d %s",m_nPar... 阅读全文
posted @ 2014-08-01 12:16
leejuen
阅读(463)
评论(0)
推荐(0)

浙公网安备 33010602011771号