Click here to Skip to main content
16,008,954 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCode Here Pin
manohar23-Jul-01 18:55
manohar23-Jul-01 18:55 
GeneralRe: Code Here Pin
Paolo Messina24-Jul-01 3:26
professionalPaolo Messina24-Jul-01 3:26 
Generaltype of parameters Pin
Gérald Mercet23-Jul-01 5:18
Gérald Mercet23-Jul-01 5:18 
GeneralRe: type of parameters Pin
Not Active23-Jul-01 9:11
mentorNot Active23-Jul-01 9:11 
GeneralMulti-Line VC Constants Pin
AJ12323-Jul-01 4:55
AJ12323-Jul-01 4:55 
GeneralRe: Multi-Line VC Constants Pin
23-Jul-01 5:08
suss23-Jul-01 5:08 
GeneralRe: Multi-Line VC Constants Pin
AJ12323-Jul-01 6:05
AJ12323-Jul-01 6:05 
GeneralNEED TO SET A DOUBLE BACKSLASH Pin
23-Jul-01 4:55
suss23-Jul-01 4:55 
I NEED TO ENTER ANOTHER BACKSLASH INTO A STRING TO GET A PROPER C DIRECTORY STRUCTURE.
//src /////////holds the directory path ex "c:\testdata"
////////////////what i neet to do is change the string to "c:\\testdata"
//cmpstr ////////////holds char(92) ascii code for \

for (int fndi=0;fndi< src.GetLength();fndi++){
wsprintf(orgstr,"%s",(LPCTSTR)src.GetAt(fndi));
if(strcmp(orgstr,cmpstr) == 0){
src.SetAt(fndi,'\\');
fndi++;\\\\\\\\\\\\\\\skip so that i do not find the "\" i just added
}
}
the main problem that i am having is that a single backslash is found a an end of line and can not be compared properly.
GeneralRe: NEED TO SET A DOUBLE BACKSLASH Pin
Not Active23-Jul-01 5:41
mentorNot Active23-Jul-01 5:41 
Generalfunction does not do what i need Pin
23-Jul-01 9:29
suss23-Jul-01 9:29 
GeneralRe: function does not do what i need Pin
Jim A. Johnson23-Jul-01 10:07
Jim A. Johnson23-Jul-01 10:07 
GeneralRe: function does not do what i need Pin
24-Jul-01 6:51
suss24-Jul-01 6:51 
GeneralRe: function does not do what i need Pin
Erik Funkenbusch25-Jul-01 21:35
Erik Funkenbusch25-Jul-01 21:35 
GeneralFormat a String in a EditBox Pin
youssef23-Jul-01 4:10
youssef23-Jul-01 4:10 
GeneralRe: Format a String in a EditBox Pin
Not Active23-Jul-01 5:42
mentorNot Active23-Jul-01 5:42 
GeneralActive-X Control Redrawing Pin
Jared Allen23-Jul-01 3:33
Jared Allen23-Jul-01 3:33 
GeneralRe: Active-X Control Redrawing Pin
23-Jul-01 3:53
suss23-Jul-01 3:53 
GeneralRe: Active-X Control Redrawing Pin
23-Jul-01 14:14
suss23-Jul-01 14:14 
GeneralCustomised CFileDialog Pin
Vikas Rao23-Jul-01 3:10
professionalVikas Rao23-Jul-01 3:10 
GeneralDesign patterns for ADO SQL calls Pin
Reno Tiko23-Jul-01 3:09
Reno Tiko23-Jul-01 3:09 
GeneralEvents... Pin
23-Jul-01 2:43
suss23-Jul-01 2:43 
GeneralRe: Events... Pin
23-Jul-01 4:07
suss23-Jul-01 4:07 
QuestionEXE used as DLL? Pin
Danoo23-Jul-01 2:22
Danoo23-Jul-01 2:22 
QuestionHow to change a variable to hexadecimal format ??? Pin
22-Jul-01 23:29
suss22-Jul-01 23:29 
AnswerRe: How to change a variable to hexadecimal format ??? Pin
jerry0davis22-Jul-01 23:39
jerry0davis22-Jul-01 23:39 

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.