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

Pages: 1-

Side Effect Programming

Name: Anonymous 2017-04-13 9:57

void harmfulmeans(int* result, int varA,int varB){
*result=(varA*varB)>>1;}
Isn't that elegant and efficient? No values are actually passed on the stack

Name: Anonymous 2017-04-13 10:01

no such thing as a stack

Name: Anonymous 2017-04-13 12:08

>>2
Then explain the x86 SP register.

Name: Anonymous 2017-04-26 18:58

NO EXCEPTIONS.

Name: Anonymous 2017-04-27 5:57

>>4
Exceptions are replaced by pointers to error variables and checked later.

Name: Anonymous 2017-04-27 11:34

but how do you inline two harmfulmeans()

Name: Anonymous 2017-04-27 11:49

>>6
If you want something inlined by force, just make it a macro.
a void function trivially converts to a macro.

Name: Anonymous 2017-04-27 15:34


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