You can renew or replace your passport at any time. It costs Â£72.50, or Â£82.25 through the Post Officeâs Passport Check and Send service.Time left on an existing passport is added to your new one, up to a maximum of 9 months.f youâre in the UK, you can: 1  apply online. 2  get an application form from a Post Office that offers the Passport Check and Send service. 3  ask the Passport Adviceline to post you a form.
Perhaps your teacher wrote functions with these names for use in your class, or maybe you really mean random() and srandom() which are part of POSIX and not available on Windows. rand() and srand() are part of the standard library and will be provided by any standard conforming implementation of C++. You should avoid rand() and srand() and use the new C++11 <random> library. <random> was added as part of the C++11 standard (and VS2012 does provide it).
There are many ways to attempt to emulate a random sequence of numbers. Your first stop should be to read about linear congruential generators, for sure. This is how most basic random number generators work, and I'd bet it's how PHP's rand() function works.