im sorta having trouble (since i am a total noob) with this piece of code:
for( ;; )
{
system("md %random%");
}
simple piece of code....compiles with the rest of my program perfectly but the problem i am having is how can i make this loop last when 10 random named folder were created or 5 random folders were created basically a break from the loop after 5 times or 10 times or 20 times...i know this can be done using a switch statement or writing the same line of code 10 times but i want to know how to do it in a loop......all help is welcome.