If you have Alhambra available to you, pick one of those instead of the Yamaha, or Cort. You will be infinitely happier if you can find one and actually try before you buy. It also depends on what your budget is too. I would pick Alhambra over Yamaha, and Yamaha over Cort. I've had Cort before and they are cheaply made. The Yamaha C40 is okay for a starter guitar, but I think you would be happier with the Alhambra, even if you get a less expensive model. If you have a friend who plays, take him with you when you go shopping for a guitar. I am assuming by the nature of your question you are a beginner or you wouldn't be asking us. I really think a mid priced Alhambra will get you farther down the road than the other two.
Ramirez George Harrison 2012 SP/IRW
Ramirez 4NE 2011 CD/IRW
Ramirez 125 an~os 2011 CD/IRW
Kremona F65CW TL CD/IRW