Can anyone tell me how to do multi-thread programming in C/C++ with some simple examples?

Suppose I have a file with 1000 records. Using conventional processing, I can apply a while not end of file reached, read and process each line.

Is it possible using multi-thread programming, that I process the file under say 10 threads, so entire processing will be 10 times faster?

Thanks in advance!