Click here to Skip to main content
15,920,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionshellexecuteex Pin
deeps_cute22-Mar-07 19:07
deeps_cute22-Mar-07 19:07 
AnswerRe: shellexecuteex Pin
prasad_som22-Mar-07 19:27
prasad_som22-Mar-07 19:27 
AnswerRe: shellexecuteex Pin
Naveen22-Mar-07 20:03
Naveen22-Mar-07 20:03 
AnswerRe: shellexecuteex Pin
Stephen Hewitt23-Mar-07 12:29
Stephen Hewitt23-Mar-07 12:29 
QuestionLine Of Code counter - doesn't work Pin
XTAL25622-Mar-07 18:48
XTAL25622-Mar-07 18:48 
AnswerRe: Line Of Code counter - doesn't work Pin
toxcct22-Mar-07 20:50
toxcct22-Mar-07 20:50 
GeneralRe: Line Of Code counter - doesn't work Pin
XTAL25622-Mar-07 21:19
XTAL25622-Mar-07 21:19 
AnswerRe: Line Of Code counter - doesn't work [modified] Pin
John R. Shaw22-Mar-07 21:18
John R. Shaw22-Mar-07 21:18 
I hope you do not mind, but I am confused. You simply start at the beginning of the line and remove white spaces. Getting the total is more efficient before you remove them, but not necessary. The same can be said for the actual end of the string..

Your code is tight (which I like); my only question is why are you looking for “ \t” (“{space}TAB”)? The goal is to eliminate white space and not a combination of white spaces.

I admit I did not look deeper than that, but one flaw at a time.



-- modified at 3:25 Friday 23rd March, 2007

INTP
"Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra

AnswerRe: Line Of Code counter - doesn't work Pin
kakan22-Mar-07 22:08
professionalkakan22-Mar-07 22:08 
GeneralRe: Line Of Code counter - doesn't work Pin
XTAL25623-Mar-07 14:15
XTAL25623-Mar-07 14:15 
QuestionHow to get the original size of a pe file Pin
white jungle22-Mar-07 18:38
white jungle22-Mar-07 18:38 
AnswerRe: How to get the original size of a pe file Pin
Karismatic22-Mar-07 23:10
Karismatic22-Mar-07 23:10 
GeneralRe: How to get the original size of a pe file Pin
white jungle22-Mar-07 23:18
white jungle22-Mar-07 23:18 
GeneralRe: How to get the original size of a pe file Pin
Karismatic23-Mar-07 0:22
Karismatic23-Mar-07 0:22 
GeneralRe: How to get the original size of a pe file Pin
white jungle23-Mar-07 0:33
white jungle23-Mar-07 0:33 
QuestionProblem Putting Dialog on top Pin
ghunzel0622-Mar-07 16:15
ghunzel0622-Mar-07 16:15 
AnswerRe: Problem Putting Dialog on top Pin
prasad_som22-Mar-07 18:28
prasad_som22-Mar-07 18:28 
GeneralRe: Problem Putting Dialog on top Pin
ghunzel0622-Mar-07 19:27
ghunzel0622-Mar-07 19:27 
GeneralRe: Problem Putting Dialog on top Pin
DLChambers23-Mar-07 16:04
DLChambers23-Mar-07 16:04 
QuestionFinding Duplicate attribute values in a XML doc Pin
sujanaz22-Mar-07 15:35
sujanaz22-Mar-07 15:35 
QuestionAny thing wrong in this peace of code? Pin
G Haranadh22-Mar-07 14:17
G Haranadh22-Mar-07 14:17 
AnswerRe: Any thing wrong in this peace of code? Pin
PJ Arends22-Mar-07 16:03
professionalPJ Arends22-Mar-07 16:03 
QuestionRe: Any thing wrong in this peace of code? Pin
prasad_som22-Mar-07 18:31
prasad_som22-Mar-07 18:31 
AnswerRe: Any thing wrong in this peace of code? Pin
G Haranadh23-Mar-07 6:33
G Haranadh23-Mar-07 6:33 
AnswerRe: Any thing wrong in this peace of code? Pin
John R. Shaw22-Mar-07 21:40
John R. Shaw22-Mar-07 21:40 

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.