Random Character Generator
Posted by Samath
Last Updated: February 25, 2012

#include <iostream>

#include <cstdlib>

#include <ctime>

#include <string>

 

 

using namespace std;

 

int main()

 

{

srand ((unsigned) time(0));

char* RandNum;

 

char UserLetter;

 

 

for (int i=0; i <10;i++)

RandNum[i]= 65 + rand()% 26;

 

cout << RandNum<< endl;

return 0;

}