Click here to Skip to main content
15,887,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to add full path #include ? Pin
k505411-Dec-23 6:12
mvek505411-Dec-23 6:12 
GeneralRe: how to add full path #include ? Pin
Dave Kreskowiak11-Dec-23 9:19
mveDave Kreskowiak11-Dec-23 9:19 
GeneralRe: how to add full path #include ? Pin
jschell12-Dec-23 5:13
jschell12-Dec-23 5:13 
GeneralRe: how to add full path #include ? Pin
Dave Kreskowiak12-Dec-23 5:25
mveDave Kreskowiak12-Dec-23 5:25 
GeneralRe: how to add full path #include ? Pin
k505412-Dec-23 5:31
mvek505412-Dec-23 5:31 
GeneralRe: how to add full path #include ? Pin
jschell12-Dec-23 11:10
jschell12-Dec-23 11:10 
GeneralRe: how to add full path #include ? Pin
Dave Kreskowiak12-Dec-23 11:19
mveDave Kreskowiak12-Dec-23 11:19 
GeneralRe: how to add full path #include ? Pin
k505412-Dec-23 5:30
mvek505412-Dec-23 5:30 
For unix-like systems there are two terms in general use:
absolute path: any path that starts with a /
relative path: a path relative to the current directory. This is any path that does not start with a / Some examples might be src/projects/foo/bar.c or ../include or ./program

jschell wrote:
On linux/unix the path might have a path that resolves to a different drive
Technically true. For example, you might have /home mounted as a separate drive - it might even be a network drive. For the average user, the file system is homogeneous, that is you can navigate to any point in the file tree with out having to know if it's on a separate drive/partition,networked-fs, etc. Its only really an issue for applications that may want to move files from one location to another, as you can not use link() and unlink() to move a file to a different place in the file tree if the source and target are in different file systems.

Edit: It should be noted that file systems may be mounted at any level, so you might have a partition mounted as /home, and another partition mounted as /home/games, and yet another mounted as /home/games/adventure.
"A little song, a little dance, a little seltzer down your pants"
Chuckles the clown

GeneralRe: how to add full path #include ? Pin
jschell12-Dec-23 11:06
jschell12-Dec-23 11:06 
AnswerRe: how to add full path #include ? Pin
Mircea Neacsu10-Dec-23 8:11
Mircea Neacsu10-Dec-23 8:11 
AnswerRe: how to add full path #include ? Pin
Richard MacCutchan10-Dec-23 21:48
mveRichard MacCutchan10-Dec-23 21:48 
Question[edit: most problems fixed, one problem remaining] Invalidate rectangle follow up, flickering and no movement Pin
Calin Negru9-Dec-23 23:10
Calin Negru9-Dec-23 23:10 
AnswerRe: [edit: most problems fixed, one problem remaining] Invalidate rectangle follow up, flickering and no movement Pin
Mircea Neacsu10-Dec-23 2:03
Mircea Neacsu10-Dec-23 2:03 
AnswerRe: [edit: most problems fixed, one problem remaining] Invalidate rectangle follow up, flickering and no movement Pin
Richard MacCutchan10-Dec-23 2:20
mveRichard MacCutchan10-Dec-23 2:20 
GeneralRe: [edit: most problems fixed, one problem remaining] Invalidate rectangle follow up, flickering and no movement Pin
Calin Negru10-Dec-23 4:48
Calin Negru10-Dec-23 4:48 
Questiondownload a web page Pin
mike74116-Dec-23 4:30
mike74116-Dec-23 4:30 
AnswerRe: download a web page Pin
Mircea Neacsu6-Dec-23 5:00
Mircea Neacsu6-Dec-23 5:00 
GeneralRe: download a web page Pin
mike74116-Dec-23 13:28
mike74116-Dec-23 13:28 
GeneralRe: download a web page Pin
Mircea Neacsu6-Dec-23 14:18
Mircea Neacsu6-Dec-23 14:18 
AnswerRe: download a web page Pin
jschell6-Dec-23 6:52
jschell6-Dec-23 6:52 
AnswerRe: download a web page Pin
Gerry Schmitz6-Dec-23 7:28
mveGerry Schmitz6-Dec-23 7:28 
Questioncopying a file in C++17 Pin
mike74115-Dec-23 21:36
mike74115-Dec-23 21:36 
AnswerRe: copying a file in C++17 Pin
Richard MacCutchan5-Dec-23 22:07
mveRichard MacCutchan5-Dec-23 22:07 
AnswerRe: copying a file in C++17 Pin
jschell6-Dec-23 7:04
jschell6-Dec-23 7:04 
Questionprintf without stdio.h Pin
mike74115-Dec-23 5:21
mike74115-Dec-23 5:21 

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.