C++ Project

Oct 9, 2009 at 2:21pm
Dear Sir,
If u don't mind pls send me a awesome Computer Project in C++ language without any errors.Your early reply highly appreciated.
Thanks and Regards
CGLP
Oct 9, 2009 at 2:39pm
1
2
3
int main() {
    return 0;
}

Oct 9, 2009 at 2:48pm
This one has got to be a joke, right?
Oct 9, 2009 at 3:26pm
No, I believe jsmith is being completely serious. ;)
Oct 9, 2009 at 3:36pm
closed account (z05DSL3A)
1
2
3
4
5
6
7
8
#include <iostream>

int main()
{
awesome:
    std::cout << "Awesome Computer Project. ";
    goto awesome;
}
Oct 9, 2009 at 5:27pm
lol
Oct 9, 2009 at 5:27pm
Compiles without error:
1
2
3
4
#define x1(d) main() d
#define x2(x,a) int x(char*,...);x(a)
x1({x2(printf,"\114O\114");)
x1(;})

gcc -ansi -pedantic a.c

[edit] a little more obfuscation...
Last edited on Oct 9, 2009 at 5:29pm
Oct 10, 2009 at 5:31am
whats the problem anyways,,, your not stating the problem. how can we help you?tsk
Oct 10, 2009 at 5:47am
1
2
3
4
5
6
7
#include <awesome_project> //if you don't have this you aren't awesome

int main() {
    for(int i = 0; i < AWESOME_NUMBER; i++) //we can't get awesomeness above the AWESOME_NUMER
        std::cout<<awesomeness(i)<<std::endl; //show people the awesomeness!
    return 1; //1 > 0
}
Last edited on Oct 10, 2009 at 5:47am
Oct 10, 2009 at 10:57am
Awesome! I just compiled that, it worked too!

It was so awesome.
Oct 10, 2009 at 11:46am
narrator: "He was so deadly in fact that his enemies would go blind from over exposure to pure awesomeness."

enemy: "He's too awesome!"

bunny: "...And attractive."

us: "How can we repay you?"

firedraco: ...

firedraco: "There is no charge for awesomeness. Or attractiveness."
Last edited on Oct 10, 2009 at 11:47am
Oct 10, 2009 at 12:55pm
I think firedraco's program has messed up my graphics card. Too much awesome was stored in the video memory, probably.

Could you fix it?
Oct 10, 2009 at 8:10pm
1
2
3
4
5
6
7
8
#include <normality>

int main() {
    char norm[gfx_card];
    memset(norm, NORMALNESS, sizeof(norm));

    return 0;
}


:)
Topic archived. No new replies allowed.