I got an error that moderncv.cls is missing. So, I have downloaded the complete package from here . But I don't understand where should I place it so that I won't get this error.
Start menu > All Programs > MiKTeX 2.9 > Maintenance (Administrator), launch
MiKTeX Package Manager, rightclick on
moderncv and select
Install. That's all.