How to write multi threaded applications in c++
Also write a program that will compile in c but not in C++

Hello Meghaldevi, thank you for the question.

In order to write threaded applications in C++, I would highly advise that you look up the functions _beginthread() and _endthread in the MSDN. That will show you how to start spawning your own threads and how to use them properly.

As for compiling in C but not C++, I'm not sure what you're referring to. C++ is backwards compatible with C, so that shouldn't be an issue. If it were the other way around, that would be different. If you want to be a little more specific then I would be glad to help.

I hope this information was helpful.

- Eddie


All Answers

Answers by Expert:

Ask Experts




I can answer questions about the C++ language, object oriented design and architecture. I am knowledgable in a lot of the math that goes into programming, and am certified by ExpertRating.com. I also know a good deal about graphics via OpenGL, and GUIs.


I have completed numerous games and demos created with the C++ programming language. Currently employed as a software engineer in the modeling and simulation field. I have about 7 years experience.

©2017 About.com. All rights reserved.