create a thread and save output in file

hello all

i need a program to create a thread and get one number,then in that thread find all prime number that is smaller than input number,and print them and save them in file
OK...
Where is the question?
Question?
I'm starting to think new forum members should be required to obtain a cplusplus.com user certification requiring 40 hours of forum related course work on how to ask questions, use common sense, etc...
What is your meaning?
Here is referring to:
http://www.cplusplus.com/forum/articles/1295/

Regarding your question. I suggest you have a look at the Boost Threading library and the same code you get with it. www.boost.org
are you crazy?
Topic archived. No new replies allowed.