Click here to Skip to main content
15,887,267 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: MFC Excel charts with VC++ Pin
BuckBrown6-Jun-06 12:02
BuckBrown6-Jun-06 12:02 
Questioncode for display multiple waveform in multiple channels of the same time base [modified] Pin
mrby1235-Jun-06 10:50
mrby1235-Jun-06 10:50 
QuestionMsn Messenger Pin
YaronNir5-Jun-06 10:39
YaronNir5-Jun-06 10:39 
AnswerRe: Msn Messenger Pin
ThatsAlok5-Jun-06 23:18
ThatsAlok5-Jun-06 23:18 
QuestionVS 2005 and GDI+ Pin
Van Court5-Jun-06 9:57
Van Court5-Jun-06 9:57 
AnswerRe: VS 2005 and GDI+ Pin
uusheikh5-Jun-06 17:59
uusheikh5-Jun-06 17:59 
GeneralRe: VS 2005 and GDI+ Pin
Van Court6-Jun-06 10:32
Van Court6-Jun-06 10:32 
QuestionInterview Questions ... Please Answer! [modified] Pin
AryaSoft5-Jun-06 9:49
AryaSoft5-Jun-06 9:49 
Can someone please answer the below questions? Confused | :confused:

Thanks in advance!:

=====
1. How do you ensure data consistency with mulitple threads.

2. How do you implement a single linked with multiple threads accessing and updating the same. What are the different ways to do it. What is best for performance?

3. Write code for inserting into singly linked list, taking into consideration that multiple threads can call the same function concurrently.


=======
1. Implement Singleton design pattern.

2. Update the above code keeping in mind the multiple threads can use this class.

3. And change the solution such a way that we get best performance.

4. Discuss algorithm and write code for reversing the words in a string.

5. Come up with an algorithm for the above problem such a way that we don't use extra space.


============
1. If there is a string with only characters 'a' & 'b' in it and given a decode pattern as below

aaa - 1
aba - 2
bbb - 3

Create a new string from the input string and above pattern in which all the instances of pattern above would be replaced with the appropriate decode value in the new string. For example, if the input string is aaaababbbaa the output would be 123aa.

2. Networking questions. Difference between TCP, UDP and why should one use UDP.

3. What is multicast.

4. How does data send and receive work in UDP. How much data can application send at one shot with UDP and how does it work with TCP?
AnswerRe: Interview Questions ... Please Answer! Pin
Chris Losinger5-Jun-06 10:14
professionalChris Losinger5-Jun-06 10:14 
GeneralRe: Interview Questions ... Please Answer! [modified] Pin
AryaSoft5-Jun-06 10:37
AryaSoft5-Jun-06 10:37 
GeneralRe: Interview Questions ... Please Answer! [modified] Pin
Zac Howland5-Jun-06 10:45
Zac Howland5-Jun-06 10:45 
AnswerRe: Interview Questions ... Please Answer! Pin
Zac Howland5-Jun-06 10:21
Zac Howland5-Jun-06 10:21 
AnswerRe: Interview Questions ... Please Answer! Pin
ThatsAlok5-Jun-06 23:11
ThatsAlok5-Jun-06 23:11 
GeneralRe: Interview Questions ... Please Answer! Pin
AryaSoft7-Jun-06 11:24
AryaSoft7-Jun-06 11:24 
Questionstatus bar Pin
LCI5-Jun-06 8:57
LCI5-Jun-06 8:57 
AnswerRe: status bar Pin
led mike5-Jun-06 9:18
led mike5-Jun-06 9:18 
AnswerRe: status bar Pin
Zac Howland5-Jun-06 9:25
Zac Howland5-Jun-06 9:25 
QuestionTrackPopupMenu() blocks message engine Pin
LeeeNN5-Jun-06 8:50
LeeeNN5-Jun-06 8:50 
AnswerRe: TrackPopupMenu() blocks message engine Pin
Zac Howland5-Jun-06 9:14
Zac Howland5-Jun-06 9:14 
GeneralI did not make myself clear? Pin
LeeeNN5-Jun-06 9:20
LeeeNN5-Jun-06 9:20 
GeneralRe: I did not make myself clear? Pin
Zac Howland5-Jun-06 9:29
Zac Howland5-Jun-06 9:29 
GeneralRe: I did not make myself clear? Pin
LeeeNN5-Jun-06 9:43
LeeeNN5-Jun-06 9:43 
GeneralRe: I did not make myself clear? Pin
Zac Howland5-Jun-06 10:11
Zac Howland5-Jun-06 10:11 
AnswerRe: TrackPopupMenu() blocks message engine Pin
Wes Aday5-Jun-06 9:24
professionalWes Aday5-Jun-06 9:24 
GeneralRe: TrackPopupMenu() blocks message engine Pin
LeeeNN5-Jun-06 9:29
LeeeNN5-Jun-06 9:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.