Click here to Skip to main content
15,911,646 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to create a hook which monitors foreground windows using WinCE for Pocket PC Pin
Cedric Moonen23-Apr-08 23:50
Cedric Moonen23-Apr-08 23:50 
AnswerRe: how to create a hook which monitors foreground windows using WinCE for Pocket PC Pin
Naveen23-Apr-08 23:44
Naveen23-Apr-08 23:44 
GeneralRe: how to create a hook which monitors foreground windows using WinCE for Pocket PC Pin
Shashi.Shinde24-Apr-08 1:50
Shashi.Shinde24-Apr-08 1:50 
GeneralUsing Wuapi at visual c++ Pin
monsieur_jj23-Apr-08 22:42
monsieur_jj23-Apr-08 22:42 
GeneralFile operation Pin
Chandrasekharan P23-Apr-08 22:33
Chandrasekharan P23-Apr-08 22:33 
QuestionRe: File operation Pin
CPallini23-Apr-08 22:49
mveCPallini23-Apr-08 22:49 
GeneralRe: File operation Pin
Chandrasekharan P23-Apr-08 22:51
Chandrasekharan P23-Apr-08 22:51 
GeneralRe: File operation Pin
CPallini23-Apr-08 23:17
mveCPallini23-Apr-08 23:17 
Well, You've written sequential code where iteration was probably a better option (you've four blocks of code practically identical).
Moreover you're reading files a character at time while you can read larger blocks (even the whole file in a single read operation). The same for the writing.

BTW my suggestions weren't mutually exclusive.
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke


GeneralRe: File operation Pin
David Crow24-Apr-08 3:59
David Crow24-Apr-08 3:59 
Generalpassing a value from one exe to another Pin
Le@rner23-Apr-08 22:20
Le@rner23-Apr-08 22:20 
GeneralRe: passing a value from one exe to another Pin
CPallini23-Apr-08 22:30
mveCPallini23-Apr-08 22:30 
AnswerRe: passing a value from one exe to another Pin
prasad_som24-Apr-08 2:05
prasad_som24-Apr-08 2:05 
QuestionUsername & password!! Pin
Ajay L D23-Apr-08 22:19
Ajay L D23-Apr-08 22:19 
JokeRe: Username & password!! Pin
CPallini23-Apr-08 22:24
mveCPallini23-Apr-08 22:24 
GeneralRe: Username & password!! Pin
tina->newcoder23-Apr-08 22:55
tina->newcoder23-Apr-08 22:55 
JokeRe: Username & password!! Pin
_AnsHUMAN_ 23-Apr-08 23:14
_AnsHUMAN_ 23-Apr-08 23:14 
JokeRe: Username & password!! Pin
CPallini23-Apr-08 23:32
mveCPallini23-Apr-08 23:32 
JokeRe: Username & password!! Pin
Hamid_RT24-Apr-08 6:02
Hamid_RT24-Apr-08 6:02 
GeneralRe: Username & password!! Pin
CPallini24-Apr-08 21:44
mveCPallini24-Apr-08 21:44 
JokeRe: Username & password!! Pin
Hamid_RT24-Apr-08 6:03
Hamid_RT24-Apr-08 6:03 
JokeRe: Username & password!! Pin
Rajesh R Subramanian24-Apr-08 0:33
professionalRajesh R Subramanian24-Apr-08 0:33 
QuestionRe: Username & password!! Pin
David Crow24-Apr-08 4:13
David Crow24-Apr-08 4:13 
GeneralRe: Username & password!! Pin
Rajesh R Subramanian24-Apr-08 18:35
professionalRajesh R Subramanian24-Apr-08 18:35 
GeneralRe: Username & password!! Pin
Hamid_RT24-Apr-08 6:02
Hamid_RT24-Apr-08 6:02 
Generaldifference between defining a constructor of class as private and protected and their uses. Pin
Deepu Antony23-Apr-08 21:59
Deepu Antony23-Apr-08 21:59 

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.