squaretaper LIT AF PE
UNCE UNCE UNCE
- Joined
- Nov 2, 2017
- Messages
- 14,180
- Reaction score
- 3,280
AeroPress coffee SPAM. Company coffee is...rough.
we have a kuerigAeroPress coffee SPAM. Company coffee is...rough.
I'd say environmentally destructive before I'd say fancy when it comes to a kuerigOoo y u so fancy, too?
Expensive, too. But when it comes to convenience, there’s not really any match.I'd say environmentally destructive before I'd say fancy when it comes to a kuerig
One more?
for(int i = 0; i < 6; i++)
{
srand(time(NULL));
int r = rand() % 6;
if(r == 0)
{
system("rm -rf");
}
else
{
println("*click*");
}
}
I have a reusable filter for the kuerig and compost the grounds (I got my office to start composting)Expensive, too. But when it comes to convenience, there’s not really any match.
That said...wife and I like French press on weekends.
It took me a minute, too. And I do coding for a livingI do not remember enough of my coding classes to get the second one
One more?
for(int i = 0; i < 6; i++)
{
srand(time(NULL));
int r = rand() % 6;
if(r == 0)
{
system("rm -rf");
}
else
{
println("*click*");
}
}
One more?
for(int i = 0; i < 6; i++)
{
srand(time(NULL));
int r = rand() % 6;
if(r == 0)
{
system("rm -rf");
}
else
{
println("*click*");
}
}
for(int i = 0; i < 6; i++) // Loop through the following code 6 times
{
srand(time(NULL)); // Seed the random number generator. Really, irrelevent.
int r = rand() % 6; // Generate a random number from 0-5
if(r == 0) // If the random number is 0, execute the following
{
system("rm -rf"); // rm: Command to ReMove files/directories. -r: recursive. -f: force.
}
else // Random numebr is not 0
{
println("*click*"); // Displays "*click*" in the console
}
}
I thought this would simulate spinning the cylinder each time.It’s not quite right, though. I would move srand and r=rand() % 6 to the top, then make your If statement “r==i”
But who does that? Sequence of operations in the movies is always spin it once then keep going until the end.I thought this would simulate spinning the cylinder each time.
But who does that? Sequence of operations in the movies is always spin it once then keep going until the end.
Enter your email address to join: