Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C Expressions

Name: Anonymous 2007-07-23 6:35 ID:S8qiyQdD

Can i do this in C?
int i = (1, 2); /* i gets the value of the last evaluated expression - that is 2 */
Is it allowed? my compiler does not complain.

The reason i am asking this is because i want to write a getopt in the form of a macro using #define.
In order for this to work like getopt(3) it needs to be maed of exprzionz

so yeah, is it a good idea to write a macro'd getopt()?
also, what about i = (1, 2)?

Name: Anonymous 2007-07-23 16:55 ID:RJVh7ML/

What the fucking fuck. No, to all of your questions. Saging thread due to shitty C newb and code.What the fucking fuck. No, to all of your questions. Saging thread due to shitty C newb and code.What the fucking fuck. No, to all of your questions. Saging thread due to shitty C newb and code.What the fucking fuck. No, to all of your questions. Saging thread due to shitty C newb and code.What the fucking fuck. No, to all of your questions. Saging thread due to shitty C newb and code.What the fucking fuck. No, to all of your questions. Saging thread due to shitty C newb and code.What the fucking fuck. No, to all of your questions. Saging thread due to shitty C newb and code.What the fucking fuck. No, to all of your questions. Saging thread due to shitty C newb and code.What the fucking fuck. No, to all of your questions. Saging thread due to shitty C newb and code.What the fucking fuck. No, to all of your questions. Saging thread due to shitty C newb and code.What the fucking fuck. No, to all of your questions. Saging thread due to shitty C newb and code.What the fucking fuck. No, to all of your questions. Saging thread due to shitty C newb and code.What the fucking fuck. No, to all of your questions. Saging thread due to shitty C newb and code.What the fucking fuck. No, to all of your questions. Saging thread due to shitty C newb and code.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List