Click here to Skip to main content
16,011,757 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: cannot typecast short datatype to long datatype Pin
David Crow21-Mar-08 3:20
David Crow21-Mar-08 3:20 
GeneralRe: cannot typecast short datatype to long datatype Pin
CPallini21-Mar-08 6:58
mveCPallini21-Mar-08 6:58 
QuestionMapping the Windows XP APIs to Linux Pin
IamPoojaa21-Mar-08 2:17
IamPoojaa21-Mar-08 2:17 
GeneralRe: Mapping the Windows XP APIs to Linux Pin
Cedric Moonen21-Mar-08 2:34
Cedric Moonen21-Mar-08 2:34 
GeneralRe: Mapping the Windows XP APIs to Linux Pin
IamPoojaa23-Mar-08 19:56
IamPoojaa23-Mar-08 19:56 
GeneralRe: Mapping the Windows XP APIs to Linux Pin
malaugh21-Mar-08 7:31
malaugh21-Mar-08 7:31 
GeneralRe: Mapping the Windows XP APIs to Linux Pin
IamPoojaa23-Mar-08 19:51
IamPoojaa23-Mar-08 19:51 
GeneralPath-parts naming conventions. Pin
Capitanevs21-Mar-08 2:05
Capitanevs21-Mar-08 2:05 
Ok, boys, I think it's time to give an answer to an ancestral annoying question.

How do we (we = programmers, professional or amateur) call the parts which a FQP (fully qualified path)
is made of?

I mean, if we have a DOS-like path:
c:\dir1\dir2\file.ext

what are the meaningful strings we have to name?

fileName = "file.ext" ? or
fileName = "file"
fileExtension = "ext" ? And if so, how should we call "file.ext"?

Which name is "c:\dir1\dir2" usually addressed with?

In partial paths, should I use the ending slash ("c:\dir1\") or not (c:\dir1) ?

Where can I find standard naming conventions?Confused | :confused:

And what is the best way of handling file names? Windows API, or a more convenient code
has been written, maybe here in codeproject?Confused | :confused:


Thank ya guys...
QuestionRe: Path-parts naming conventions. Pin
CPallini21-Mar-08 7:14
mveCPallini21-Mar-08 7:14 
GeneralRe: Path-parts naming conventions. Pin
Capitanevs21-Mar-08 12:39
Capitanevs21-Mar-08 12:39 
Generalpermutation test Pin
mich21-Mar-08 2:03
mich21-Mar-08 2:03 
QuestionRe: permutation test Pin
Rajesh R Subramanian21-Mar-08 2:18
professionalRajesh R Subramanian21-Mar-08 2:18 
GeneralRe: permutation test Pin
Rajkumar R21-Mar-08 2:34
Rajkumar R21-Mar-08 2:34 
General[Message Deleted] Pin
vikramlinux21-Mar-08 1:01
vikramlinux21-Mar-08 1:01 
QuestionRe: Copying file and timeout Pin
David Crow21-Mar-08 3:14
David Crow21-Mar-08 3:14 
GeneralRe: Copying file and timeout Pin
vikramlinux21-Mar-08 3:25
vikramlinux21-Mar-08 3:25 
QuestionRe: Copying file and timeout Pin
David Crow21-Mar-08 3:29
David Crow21-Mar-08 3:29 
GeneralRe: Copying file and timeout Pin
vikramlinux21-Mar-08 3:30
vikramlinux21-Mar-08 3:30 
GeneralRe: Copying file and timeout Pin
David Crow21-Mar-08 3:35
David Crow21-Mar-08 3:35 
QuestionRead a character or continue? Pin
Anthony Appleyard21-Mar-08 0:57
Anthony Appleyard21-Mar-08 0:57 
AnswerRe: Read a character or continue? Pin
Rajkumar R21-Mar-08 1:11
Rajkumar R21-Mar-08 1:11 
GeneralOT Pin
CPallini21-Mar-08 1:30
mveCPallini21-Mar-08 1:30 
GeneralRe: Read a character or continue? Pin
Anthony Appleyard21-Mar-08 1:42
Anthony Appleyard21-Mar-08 1:42 
AnswerRe: Read a character or continue? Pin
CPallini21-Mar-08 1:24
mveCPallini21-Mar-08 1:24 
QuestionMemory leak in this case? Pin
George_George20-Mar-08 23:56
George_George20-Mar-08 23:56 

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.