
Originally Posted by
bird1500
Hi,
I define this:
#define ushort unsigned short
For the love of $deity, WHY?
I agree that the feature you really want is typedef, but why would you want to typedef a built-in type WITH A SLIGHTLY SHORTER VERSION OF THE SAME NAME?
While you're at it, why don't you
Code:
typedef int i;
typedef char c;
typedef short s;
...
And since that's so repetitive, maybe we can make it even shorter and less readable:
Code:
#define t typedef
t int i;
t char c;
...
Oh, while we're at it, why don't we throw in some extra #defines, you know, just to save keystrokes:
Code:
#define f for
#define w while
#define p printf
Sorry to be rude, but unless your goal is to make C look like APL, why don't you use the names that are provided?
Bookmarks