User profile: long double main

User info
User name:long double main
Location:Michigan, USA
Bio:You just lost The Game.
Nice job. *slow clap*

// Yes, this actually compiles.
#define long int
#define double
long double main()
return 0.0L;
(Note: don't do this at home, obviously.)
Even without the preprocessor hacks, it still compiles as C code:

100th post:
200th post:
300th post:
400th post:
500th post:
600th post:
700th post:
800th post:
900th post:
Wow, seems that I help out in the beginner forums much more than the General C++ Programming forum. I wonder what that says about me....

(Don't worry; after post #1000, I'll start going in increments of 1000 instead of 100, so this page won't fill up with pages of links to random posts.)
Statistical data
Birthdate:May 30, 1997
Whatever you call that TI-83/84+ calculator language
Number of posts:999
Latest posts:

pointers, array, functions
[quote=danicpp]but in main(){} I guess we don't need to mention void cause actually I don't and it c...

Please help debug simple tutorial code
Initialize [tt]total[/tt] [i]after[/i] you input values for [tt]x[/tt] and [tt]y[/tt], not before. ...

Please help debug simple tutorial code
[code firstline=20]int x = 1; int y = 1; int total = x + y; // Sets total to 2 (1 + 1)[/code][tt]tot...

printing a pointer to function & changing return value of the function
Why you would even think about doing this, I have no clue. But here's a way: [code]#include <iostrea...

Random Numbers Generator Question
Okay, if it [i]really[/i] matters (actually, something like this is what you should be using already...