例如,我输入" cat XXX.cpp | grep" .png" " 它显示在终端:
(standard input): infoSp = CCScale9Sprite::create("task_img_5.png");
(standard input): const CCSize tempSize = CCTextureCache::sharedTextureCache()->addImage("bg_num.png")->getContentSize();
(standard input): AHControlButton* pBtn = AHControlButton::create(CCScale9Sprite::create("bg_list_b.png"));
(standard input): pBtn->setBackgroundSpriteForState(CCScale9Sprite::create( "bg_list_c.png"), CCControlStateHighlighted);
(standard input): pBtn->setBackgroundSpriteForState(CCScale9Sprite::create( "bg_list_b.png"), CCControlStateDisabled);
但是,我只需要它列表" .png"只有,像:
"a.png"
"b.png"
"c.png"
有人知道吗?请帮助我,谢谢。