Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<fstream.h>
- #include<stdlib.h>
- int main()
- {
- cout<<"\nPassword generator ";
- ofstream o;
- o.open("K:\\pd");
- float a;
- a=rand();
- cout<<a;
- float code=((a*12)-523)*66;
- o.write((char*)&code,sizeof code);
- o.close();
- }
Add Comment
Please, Sign In to add comment