| View previous topic :: View next topic |
| Author |
Message |
mer0x Advanced Cheater
Reputation: 0
Joined: 06 Jan 2008 Posts: 63
|
Posted: Sun Feb 03, 2008 9:07 pm Post subject: Sleep in seconds not M/S |
|
|
| Code: |
Sleep(SleepTime * 1000)
|
|
|
| Back to top |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Sun Feb 03, 2008 9:35 pm Post subject: |
|
|
Ok?
So what?
_________________
|
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Sun Feb 03, 2008 9:37 pm Post subject: |
|
|
only a complete dumbass couldnt figure that one out...
there is absolutely no point in this thread...
_________________
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sun Feb 03, 2008 9:53 pm Post subject: |
|
|
| holy shit revelation of the century.
|
|
| Back to top |
|
 |
Cx Master Cheater
Reputation: 0
Joined: 27 Jul 2007 Posts: 367
|
Posted: Sun Feb 03, 2008 10:22 pm Post subject: |
|
|
Haha.
_________________
armed with this small butterfly net
i will face the world alone
& never be lonely. |
|
| Back to top |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Sun Feb 03, 2008 10:31 pm Post subject: |
|
|
even easier
_________________
|
|
| Back to top |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Sun Feb 03, 2008 11:00 pm Post subject: |
|
|
| appalsap wrote: | even easier
|
| Code: |
SleepTime = 4;
sleep(SleepTime);
|
Not the intended output.
_________________
|
|
| Back to top |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 474
Joined: 09 May 2003 Posts: 25956 Location: The netherlands
|
Posted: Mon Feb 04, 2008 12:14 am Post subject: |
|
|
and for those that don't get it. Sleep(xxx) and sleep(xxx) are different functions...
_________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Mon Feb 04, 2008 9:47 am Post subject: |
|
|
Ahhh
I see.
My bad, Appal. ^-^
~~
Offtopic:
Happy birthday to me!
_________________
|
|
| Back to top |
|
 |
nog_lorp Grandmaster Cheater
Reputation: 0
Joined: 26 Feb 2006 Posts: 743
|
Posted: Mon Aug 04, 2008 11:57 pm Post subject: |
|
|
EVEN EASIER
| Code: |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
int temp;
void SleepForNSeconds (int n, int *t)
{
if ((n==(*t)) ? 0 : 1 + 0*(*t = n,n *= 100,n *= n,n /= 10)) goto labial;
printf("blah\n");
memcpy(&n,t,sizeof(int));
SleepForNSeconds(n,t);
labial:
printf("%i\n",((1L<<10)-24)**t);
sleep(((1L<<10)-24)*(*t));
}
int main()
{
int SleepTime = 4; //in seconds
SleepForNSeconds(SleepTime, &temp);
return(0);
}
|
_________________
Mutilated lips give a kiss on the wrist of the worm-like tips of tentacles expanding in my mind
I'm fine accepting only fresh brine you can get another drop of this yeah you wish |
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Tue Aug 05, 2008 12:48 am Post subject: |
|
|
| nog_lorp wrote: | EVEN EASIER
| Code: |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
int temp;
void SleepForNSeconds (int n, int *t)
{
if ((n==(*t)) ? 0 : 1 + 0*(*t = n,n *= 100,n *= n,n /= 10)) goto labial;
printf("blah\n");
memcpy(&n,t,sizeof(int));
SleepForNSeconds(n,t);
labial:
printf("%i\n",((1L<<10)-24)**t);
sleep(((1L<<10)-24)*(*t));
}
int main()
{
int SleepTime = 4; //in seconds
SleepForNSeconds(SleepTime, &temp);
return(0);
}
|
|
That is disgusting code o.o
_________________
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Tue Aug 05, 2008 2:28 am Post subject: |
|
|
Don't bump old topics, locked / warned.
_________________
- Retired. |
|
| Back to top |
|
 |
|