void loop(void)

what does this mean "void loop(void)" and what does it do. i.e., whats it good for?

it is a function prototype, with curly brackets after it, it would be a function definition.

Search cplusplus.com for their tutorials on functions www.cplusplus.com/doc/tutorial/

thanks