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 |
What are c++ stream classes?
write a program that takes two numbers from user that prints the smallest number
Why would you use pointers in c++?
What is the use of c++ programming language in real life?
Why is c++ not purely object oriented?
What kind of jobs can I get with c++?
Which uses less memory? a) struct astruct { int x; float y; int v; }; b) union aunion { int x; float v; }; c) char array[10];
Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work
How do you initialize a string in c++?
I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.
What is a virtual destructor?
Is c++ a pure oop language?