代码: 全选
if (!c) {
// 当字符为 # 时 ...
if (c=='#') {
// 当字符为 { 时 ...
} else if(c=='{') {
// 当字符为其他
}
}
代码: 全选
if (!c) {
// 当字符为 # 时 ...
if (c=='#') {
// 当字符为 { 时 ...
} else if(c=='{') {
// 当字符为其他
}
}
版本:VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Oct 6 2011 10:20:05)
谁帮忙报告下……谢了。