EvilZone

Programming and Scripting => Projects and Discussion => Topic started by: xzid on September 20, 2011, 07:21:01 AM

Title: [C] FTW...h
Post by: xzid on September 20, 2011, 07:21:01 AM
Code: [Select]
#include <ftw.h>

int main(void)
    {
    pwn(P_EVERYONE);
    return 0;
    }

Code: [Select]
test.c: In function 'main':
test.c:5: error: 'P_EVERYONE' undeclared (first use in this function)
test.c:5: error: (Each undeclared identifier is reported only once
test.c:5: error: for each function it appears in.)

aww damn, I thought for sure that would work. <ftw.h> sucks. :(

Title: Re: [C] FTW...h
Post by: Kulverstukas on September 20, 2011, 09:13:03 PM
Try pwning God instead. "Everyone" is too much for the compiler probably.
Title: Re: [C] FTW...h
Post by: ovi_x on September 20, 2011, 10:01:53 PM
lol  xzid  it  pwnd=xzid
Title: Re: [C] FTW...h
Post by: xzid on September 20, 2011, 10:39:27 PM
Try pwning God instead. "Everyone" is too much for the compiler probably.

There is no god on this box:

Code: [Select]
$ type god
bash: type: god: not found

lol  xzid  it  pwnd=xzid

Oh yes, that's much better. thank you.

Code: [Select]
#include <ftw.h>
#include <unistd.h>

#define XZID    1
#define pwn()    fork()

int main(void)
    {
    while(XZID)
        pwn();

    return 0;
    }
Title: Re: [C] FTW...h
Post by: Kulverstukas on September 20, 2011, 11:19:06 PM
so... you pwnd yourself? :D
Title: Re: [C] FTW...h
Post by: ca0s on September 21, 2011, 01:29:28 PM
Quote
Code: [Select]
#include <ftw.h>
#include <unistd.h>

#define XZID    1
#define pwn()    fork()

int main(void)
    {
    while(XZID)
        pwn();

    return 0;
    }

Lol.
Title: Re: [C] FTW...h
Post by: bubzuru on November 02, 2011, 01:28:49 PM
nice scene of humor , i like it  :o