Click here to Skip to main content
15,917,635 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: OnInitDialog() direct call Pin
Michael P Butler27-Dec-02 22:25
Michael P Butler27-Dec-02 22:25 
GeneralRe: OnInitDialog() direct call Pin
alex.barylski28-Dec-02 0:07
alex.barylski28-Dec-02 0:07 
GeneralRe: OnInitDialog() direct call Pin
Michael P Butler28-Dec-02 1:02
Michael P Butler28-Dec-02 1:02 
GeneralRe: OnInitDialog() direct call Pin
Brian Delahunty28-Dec-02 1:19
Brian Delahunty28-Dec-02 1:19 
GeneralRe: OnInitDialog() direct call Pin
alex.barylski28-Dec-02 15:19
alex.barylski28-Dec-02 15:19 
GeneralResizing of CFormView based window Pin
M.Shoaib Khan27-Dec-02 21:03
sussM.Shoaib Khan27-Dec-02 21:03 
GeneralRe: Resizing of CFormView based window Pin
alex.barylski27-Dec-02 22:01
alex.barylski27-Dec-02 22:01 
GeneralFTP question Pin
focusphs27-Dec-02 19:09
focusphs27-Dec-02 19:09 
GeneralRe: FTP question Pin
User 665828-Dec-02 1:55
User 665828-Dec-02 1:55 
GeneralURG:: CloseSocket() error with Multithreading. Pin
ydasari27-Dec-02 15:24
ydasari27-Dec-02 15:24 
GeneralRe: URG:: CloseSocket() error with Multithreading. Pin
valikac27-Dec-02 16:07
valikac27-Dec-02 16:07 
GeneralRe: URG:: CloseSocket() error with Multithreading. Pin
Anonymous28-Dec-02 4:56
Anonymous28-Dec-02 4:56 
GeneralCreateFile and Long Path/Files :: Win32 Pin
valikac27-Dec-02 14:35
valikac27-Dec-02 14:35 
GeneralRe: CreateFile and Long Path/Files :: Win32 Pin
Todd Smith27-Dec-02 14:50
Todd Smith27-Dec-02 14:50 
GeneralRe: CreateFile and Long Path/Files :: Win32 Pin
Michael Dunn27-Dec-02 14:50
sitebuilderMichael Dunn27-Dec-02 14:50 
GeneralRe: CreateFile and Long Path/Files :: Win32 Pin
valikac27-Dec-02 14:58
valikac27-Dec-02 14:58 
GeneralRe: CreateFile and Long Path/Files :: Win32 Pin
carpediem27-Dec-02 16:56
carpediem27-Dec-02 16:56 
GeneralRe: CreateFile and Long Path/Files :: Win32 Pin
valikac27-Dec-02 17:27
valikac27-Dec-02 17:27 
GeneralRe: CreateFile and Long Path/Files :: Win32 Pin
Michael Dunn27-Dec-02 19:26
sitebuilderMichael Dunn27-Dec-02 19:26 
kuphryn wrote:
Is there something special about creating directories with two backslashes instead of one?

The two backslashes are necessary to comply with C++ syntax. In string and character literals, a backslash is a special character and indicates that the next character should be treated specially. For instance, \t means "the tab character". One backslash by itself is meaningless*, so in order to have a backslash character in a string, you write \\ in your code.
So to create a directory C:\testing, you write "C:\\testing". If you write "C:\testing", that is interpreted as C followed by colon followed by TAB followed by "esting", which is not what is intended.

*Except when the backslash comes at the end of a line, in which case it is an instruction to the preprocessor to join the line with the following one.

--Mike--
If it doesn't move and it should: WD-40. If it moves and it shouldn't: duct tape.

1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click!
My really out-of-date homepage
Sonork-100.19012 Acid_Helm

GeneralRe: CreateFile and Long Path/Files :: Win32 Pin
valikac27-Dec-02 20:47
valikac27-Dec-02 20:47 
GeneralSDI Window in a MFC DLL Pin
Datalord3227-Dec-02 10:35
sussDatalord3227-Dec-02 10:35 
GeneralAdding formatted line of text to CRichEditCtrl Pin
IGx8927-Dec-02 10:21
IGx8927-Dec-02 10:21 
GeneralRe: Adding formatted line of text to CRichEditCtrl Pin
IGx8927-Dec-02 16:05
IGx8927-Dec-02 16:05 
Generali love this site ! Pin
HellShrimp4free27-Dec-02 10:17
HellShrimp4free27-Dec-02 10:17 
GeneralRe: i love this site ! Pin
Hockey27-Dec-02 11:40
Hockey27-Dec-02 11: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.