what is multithreading in c++ ,
what is difference between multithreading and
singlethreading.
Answer Posted / kanthi
Multithreading in c++???
As far as i know, c++ does not provide any language level
support for multithreading. If it is to be implemented
using c++, then it cannot be done without the support of
the underlying operating system which makes things a little
more complicated, unlike java, where a language level
support is provided for the same.
And, difference between multithreading and single-
threading: Multithreading is one form of multitasking where
a single big task is divided into independent, simultaneous
operations which can run together so that subtasks
independent of eachother can be implemented at once to
improve efficiency.
| Is This Answer Correct ? | 21 Yes | 16 No |
Post New Answer View All Answers
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
What is encapsulation and abstraction? How are they implemented in C++?
What is encapsulation selenium?
Why is polymorphism important in oop?
Why is abstraction needed?
What is the oops and benefits of oops programming?
What is overriding in oop?
What is class encapsulation?
What is the example of polymorphism?
What do you mean by variable?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
How oops is better than procedural?
What does and I oop and sksksk mean?
What are properties in oop?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.