It basically means that instead of pulling in all the definitions within the standard namespace, I'm only using cout. This is the same for all using std:: lines.
Second, what are the three parameters you have used in _beginthread ().
If you read the link I provided, you will understand what the arguments are.
&Sample_function: A function-pointer which is of type void*.
0: The stack size of the thread. This is measured in bytes. If zero is passed, a default stack size if 1 megabyte is used instead.
NULL: This is the argument list passed to the given function in the first argument.