0
Attempting a code that I think is very simple and I'm just having some trouble figuring it out.
I'm trying to make a Alphanumeric number generator based off the c++ password generator code made by solo learn. (ex. of a successful out put. "H3ID7-PNA8L-YNWQ9-7VTS7-NAM67") I know you can change the output from that password generator to have it only display capital letters and numbers and have the length be 25 characters but that doesn't help because I can't have it auto put the hyphen between every 5 characters because it's a for loop.
2 ответов
+ 3
for (int i = 1; i <= 29; i++)
{
if (i % 6 == 0)
{
std::cout << "-";
continue;
}
cout << "#";
}
+ 1
worked out well thanks I'm still a beginner in c++ so I'm just trying to figure these things out.