I think it’s wrong with your code.
First, if you want use function initWithSpriteFrameName() to init your sprite.Your code should like this:
// add frames from mypic.plist file.
CCSpriteFrameCache::sharedSpriteFrameCache()->addSpriteFramesWithFile("mypic.plist");
// use the FrameName in the mypic.plist file
CCSprite* pPlayer = new CCSprite;
pPlayer->initWithSpriteFrameName("ship.png");
Second, if you want init your sprite with a .png file,you shoud use function initWithFile().Your code should like this:
// use the .png file to init your sprite
CCSprite* pPlayer = new CCSprite;
pPlayer->initWithFile("c:/WorkTheGame/cocos2d/HelloWorld/Resource/ship.png");