how 2 change thread title?
Type: Posts; User: silent
how 2 change thread title?
#include <iostream>
#include <iomanip>
#include <conio.h>
#include <math.h>
#include <string>
#include <ctype.h>
#include <fstream>
using namespace std;
void password_generator();
char name[]="abcdefghijklmnopqrstuvwxyz0123456789";
char password[6];
srand (time(NULL));
for (int i=0;i<6;i++)
{password[i]=name[rand()%37];
}
cout<<"Your...
the output become invalid name entry invalid name entry valid no matter wat i typed... wat is code tags?
cout<<"Please enter your name:";
cin>>user.name;
int i=0;
char name[i];
while (name[i])
{
if (isalpha(name[i])) cout<<"Valid",name[i];
else cout<< "Invalid name...
can i know how to want the user to insert only words without numbers and vice verse?
i want limit it to insert either words or numbers or else ask the user to reenter the value
cout<<"Please...
can i know how to want the user to insert only words without numbers and vice verse?
erm, i actually creating a program that want user detail to generate password
char *name,*nickname,*hobby;
cout<<"Please enter your name:";
cin>>name;
cout<<"Please enter your nick name:";
cin>>nickname;
cout<<"Please enter your hobby:";
cin>>hobby;
anything wrong...