Click here to Skip to main content
15,905,414 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: new stars Pin
BadKarma7-Mar-06 1:59
BadKarma7-Mar-06 1:59 
GeneralRe: new stars Pin
toxcct7-Mar-06 2:06
toxcct7-Mar-06 2:06 
QuestionAlphabets only in CEdit Pin
vivek.s.vivek6-Mar-06 18:14
vivek.s.vivek6-Mar-06 18:14 
AnswerRe: Alphabets only in CEdit Pin
Nibu babu thomas6-Mar-06 18:29
Nibu babu thomas6-Mar-06 18:29 
AnswerRe: Alphabets only in CEdit Pin
nripun6-Mar-06 23:40
nripun6-Mar-06 23:40 
QuestionPlease solve my problems Pin
rajeevktripathi6-Mar-06 17:42
rajeevktripathi6-Mar-06 17:42 
AnswerRe: Please solve my problems Pin
Taka Muraoka6-Mar-06 18:05
Taka Muraoka6-Mar-06 18:05 
AnswerRe: Please solve my problems Pin
Taka Muraoka6-Mar-06 18:49
Taka Muraoka6-Mar-06 18:49 
OK, to be a little more helpful... Smile | :)

rajeevktripathi wrote:
1) how many ways are there to transfer values from one application to another application and and how will you do all


Lots. If you're on Windows, you can uses pipes, DDE, Windows messages, shared memory. Mutexes/events/semaphores are also possible (although slightly contrived).

There's also TCP/IP, UDP, sending stuff down a serial line. At higher level, you could also gives answers like HTTP, SOAP, REST.

You could also say things like "print something out and tell the user to type it in to the other application". It's perfectly valid and demonstrates that you can think outside the square Smile | :)

rajeevktripathi wrote:
2)what the problem will arise when very large number of entries ( say 1000 million or more) are being inserted to the CListCtrl in MFC?


Memory is an obvious constraint. Even if they were all empty strings, that's a huge amount of memory, not considering the overhead Windows introduces. And since list controls were never designed to handle such a large number of items, it's going to be unusably slow. If it's even possibe at all - I'm sure there's some 16-bit-based limit somewhere Smile | :)

And your users will hunt you down with a very large axe.

rajeevktripathi wrote:
3)How would you read a file of size 5 GB when there is not enough RAM disk and virtual memory?


Read it in chunks. Or if you're on Windows, use CreateFileMapping().

rajeevktripathi wrote:
4)How to measure the performance of two functions working same activity?


Ask them to define performance. Speed? Memory? Disk space? Average or worst case?




The two most common elements in the universe are Hydrogen and stupidity. - Harlan Ellison

Awasu 2.2 [^]: A free RSS/Atom feed reader with support for Code Project.

GeneralRe: Please solve my problems Pin
Ryan Binns6-Mar-06 19:33
Ryan Binns6-Mar-06 19:33 
AnswerRe: Please solve my problems Pin
Gary R. Wheeler7-Mar-06 3:52
Gary R. Wheeler7-Mar-06 3:52 
Questionmissing storage-class or type specifiers Pin
Kranti12519846-Mar-06 17:35
Kranti12519846-Mar-06 17:35 
AnswerRe: missing storage-class or type specifiers Pin
Nibu babu thomas6-Mar-06 17:39
Nibu babu thomas6-Mar-06 17:39 
GeneralRe: missing storage-class or type specifiers Pin
Kranti12519846-Mar-06 17:44
Kranti12519846-Mar-06 17:44 
GeneralRe: missing storage-class or type specifiers Pin
Nibu babu thomas6-Mar-06 17:48
Nibu babu thomas6-Mar-06 17:48 
GeneralRe: missing storage-class or type specifiers Pin
Kranti12519846-Mar-06 17:50
Kranti12519846-Mar-06 17:50 
GeneralRe: missing storage-class or type specifiers Pin
Nibu babu thomas6-Mar-06 17:57
Nibu babu thomas6-Mar-06 17:57 
GeneralRe: missing storage-class or type specifiers Pin
Kranti12519846-Mar-06 18:02
Kranti12519846-Mar-06 18:02 
AnswerRe: missing storage-class or type specifiers Pin
Ghasrfakhri6-Mar-06 17:50
Ghasrfakhri6-Mar-06 17:50 
GeneralRe: missing storage-class or type specifiers Pin
Kranti12519846-Mar-06 17:54
Kranti12519846-Mar-06 17:54 
QuestionProblem with Serial Port Transmission Pin
BeakX6-Mar-06 17:23
BeakX6-Mar-06 17:23 
AnswerRe: Problem with Serial Port Transmission Pin
Ryan Binns6-Mar-06 17:30
Ryan Binns6-Mar-06 17:30 
QuestionTriangle * Pin
yaaqub6-Mar-06 17:03
yaaqub6-Mar-06 17:03 
AnswerRe: Triangle * Pin
Nibu babu thomas6-Mar-06 17:16
Nibu babu thomas6-Mar-06 17:16 
Questionto read a text file Pin
beardy janggut6-Mar-06 16:40
beardy janggut6-Mar-06 16:40 
AnswerRe: to read a text file Pin
Nibu babu thomas6-Mar-06 21:06
Nibu babu thomas6-Mar-06 21:06 

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.