Have you ever used threads?
Answers were Sorted based on User's Feedback
Answer / ramakrishna yechuri
Thread concept is not used for desktop application.
Also u cannot acheive multi-threading by single processor.
Threads are mainly used for serverside programming eg
A server has to sent a single response to many request at
same time
also in devoloping games like bow and arrow.
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / roger
yey, problems arrise with the syncronisation of threads,
and sharing data. these are resolved using semophores and
Mutexes.
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / yathirajulu
yes, i used in server-side programming and most probably in
real-time scenario in many ways.
chatting,e-mailing,shopping-cart.
Is This Answer Correct ? | 0 Yes | 1 No |
Why do we use inheritance?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
what are the disadvantages of C++?
25 Answers ATS, Infosys, UNI, Wipro,
What normal C constructs work differently in C++?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
What is encapsulation example?
What is the difference between encapsulation and polymorphism?
What is stream in oop?
Difference between vector and array
What is OOPS and How it is different from Procedural Programming ?
23 Answers HP, Infosys, Thyrocare,
what does exactly the linker do?
what is costructor?