How to write Multithreaded applications using C++?
Answers were Sorted based on User's Feedback
Answer / mms zubeir
Well, ISO C++ doesn't provide the mechanisms to control
over operating system devices like thread. We need to use
the support provided by the operating system SDKs or any
third party libraries. For example, Win32's CreateThread()
API would help.
Is This Answer Correct ? | 8 Yes | 2 No |
Answer / peter_2012
It depends most of for what kind of system we will use to
run application.
Linux - standard POSIX pthread library coud be used (it is
C thrading implementation),
Windows - Win32 API,
or we can use boost threading library wich provides sets of
objects for thread creation and synchronization.
Is This Answer Correct ? | 8 Yes | 2 No |
Explain public, protected, private in c++?
Can a list of string be stored within a two dimensional array?
There is a array of 99 cells and we have to enter 1-100 elements in it , no two elements would repeat , so the is one no. missing because 99 cells and 1-100 nos. so we had to implement a function to find that missing no.
What are friend classes?
State two differences between C and C++.
catch(exception &e) { . . . } Referring to the sample code above, which one of the following lines of code produces a written description of the type of exception that "e" refers to? a) cout << e.type(); b) cout << e.name(); c) cout << typeid(e).name(); d) cout << e.what(); e) cout << e;
How the V-Table mechanism works?
What is const in c++?
write a programme to get a character and thier ASCII value
how many controls can we place on single form.
what is the use of Namespace in c++.
Does c++ support exception handling?