Click here to Skip to main content
15,886,137 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: id3 tag for wma file Pin
Bob Stanneveld18-Dec-03 21:14
Bob Stanneveld18-Dec-03 21:14 
GeneralRe: id3 tag for wma file Pin
qdping18-Dec-03 21:55
qdping18-Dec-03 21:55 
GeneralRe: id3 tag for wma file Pin
Bob Stanneveld19-Dec-03 4:44
Bob Stanneveld19-Dec-03 4:44 
QuestionHow to initialize SDI Doc/View interface from MFC-based dll Pin
JoeSchmoe00717-Dec-03 13:36
JoeSchmoe00717-Dec-03 13:36 
QuestionHow to call a dll from MFC SDI application? Pin
Binayak17-Dec-03 13:00
Binayak17-Dec-03 13:00 
AnswerRe: How to call a dll from MFC SDI application? Pin
Prakash Nadar17-Dec-03 16:46
Prakash Nadar17-Dec-03 16:46 
General..\\..\\help in remembering what all this means Pin
Steve Messer17-Dec-03 12:55
Steve Messer17-Dec-03 12:55 
GeneralRe: ..\\..\\help in remembering what all this means Pin
Terry O'Nolley17-Dec-03 13:27
Terry O'Nolley17-Dec-03 13:27 
smesser wrote:
1) . ( does this mean current dir )
2) ..\\
3) ..\\..\\
4) \somedir\debug\someexe.exe


First off - notice that in 1-3, you used \\ and in 4 you used \.
Using '//' is a C/C++ language feature (double escape sequence) and not the way you would navigate directories in an OS. Using '\\' is a way to let the OS know that you are referring to a network resource - but only after the drive letter. I have never used - or seen used - '\\' to define subdirectories.

1 - current directory - current directory is OS dependent. Some OS' determine a system-wide current directory according to the last directory accessed (ie MS-DOS). Current directory may also be relative to the logged in user's last disk access.

2 - ..\\ refers to the parent directory of the current directory (see #1)

3 - ..\\..\\ refers to the parent directory of the parent directory of the current directory (see #1)

4 - Is an absolute path from the root drive of the current directory. It could also be relative to the home directory of the currently logged account/website/whatever


The relative paths could be different depending upon what permissions you have when you access the resource in question. If your server has C:, D: & E: hard drives and you have a web client whose login directory is on E:\users\joblo and there was a file E:\users\joblo\index.html then you (as a user with root acces) would access it as E:\users\joblo\index.html but he would access it as \index.html

If you used an app to access that file path and you entered \index.html, you might end up with a totally different file (most likely a file named index.html that resided on your machine's bootable hard drive).




GeneralRe: ..\\..\\help in remembering what all this means Pin
Steve Messer17-Dec-03 14:19
Steve Messer17-Dec-03 14:19 
Questionmultiple executables in the same project? Pin
luddet17-Dec-03 12:39
luddet17-Dec-03 12:39 
AnswerRe: multiple executables in the same project? Pin
Anthony_Yio17-Dec-03 16:03
Anthony_Yio17-Dec-03 16:03 
GeneralRe: multiple executables in the same project? Pin
luddet17-Dec-03 16:33
luddet17-Dec-03 16:33 
GeneralRe: multiple executables in the same project? Pin
Anthony_Yio17-Dec-03 17:17
Anthony_Yio17-Dec-03 17:17 
GeneralRe: multiple executables in the same project? Pin
luddet18-Dec-03 4:43
luddet18-Dec-03 4:43 
GeneralRe: multiple executables in the same project? Pin
John M. Drescher19-Dec-03 8:13
John M. Drescher19-Dec-03 8:13 
GeneralRe: multiple executables in the same project? Pin
luddet20-Dec-03 3:52
luddet20-Dec-03 3:52 
GeneralResource Only DLL question Urgent! Pin
Binayak17-Dec-03 11:24
Binayak17-Dec-03 11:24 
GeneralRe: Resource Only DLL question Urgent! Pin
Prakash Nadar17-Dec-03 16:42
Prakash Nadar17-Dec-03 16:42 
GeneralBest database classes for this purpose: not really a programming question Pin
pankajdaga17-Dec-03 11:21
pankajdaga17-Dec-03 11:21 
GeneralRe: Best database classes for this purpose: not really a programming question Pin
John M. Drescher17-Dec-03 17:09
John M. Drescher17-Dec-03 17:09 
Generalquick question Pin
Qbus17-Dec-03 10:41
Qbus17-Dec-03 10:41 
GeneralRe: quick question Pin
Terry O'Nolley17-Dec-03 12:34
Terry O'Nolley17-Dec-03 12:34 
GeneralRe: quick question Pin
sam India17-Dec-03 17:47
sam India17-Dec-03 17:47 
GeneralCRecordset, ODBC, and Access Pin
David Crow17-Dec-03 8:34
David Crow17-Dec-03 8:34 
GeneralRe: CRecordset, ODBC, and Access Pin
Terry O'Nolley17-Dec-03 12:39
Terry O'Nolley17-Dec-03 12: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.