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

C/C++ tricks

Name: Anonymous 2016-10-20 4:14

Did you know, that keeping frequently accessed field at the start of a struct/class can greatly boost access time and decrease code size? I got like 1/10 speed up.

Name: Anonymous 2016-10-21 0:57

>>18
http://stackoverflow.com/questions/204476/what-should-main-return-in-c-and-c
I'm guessing here (I don't actually know if this is a fact) but modern C compilers will generate the proper main() function signature if it was declared as void main(). I remember seeing this somewhere but I can't remember where.

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