Click here to Skip to main content
15,888,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Passing Array of Strings as BSTR* Pin
Antony M Kancidrowski11-Aug-04 4:34
Antony M Kancidrowski11-Aug-04 4:34 
GeneralRe: Passing Array of Strings as BSTR* Pin
eight22-Feb-10 15:59
eight22-Feb-10 15:59 
GeneralSyntax Error NOT! Pin
jerry0davis11-Aug-04 3:47
jerry0davis11-Aug-04 3:47 
GeneralRe: Syntax Error NOT! Pin
David Crow11-Aug-04 3:52
David Crow11-Aug-04 3:52 
GeneralRe: Syntax Error NOT! Pin
jerry0davis11-Aug-04 4:00
jerry0davis11-Aug-04 4:00 
GeneralRe: Syntax Error NOT! Pin
David Crow11-Aug-04 4:13
David Crow11-Aug-04 4:13 
GeneralRe: Syntax Error NOT! Pin
Tim Smith11-Aug-04 17:45
Tim Smith11-Aug-04 17:45 
GeneralRe: Syntax Error NOT! Pin
David Crow12-Aug-04 2:38
David Crow12-Aug-04 2:38 
Tim Smith wrote:
The standard specifically says that the strings will be concatenated.

They're not concatenated as there is nothing to concatenate. Concatenation implies two or more strings, whereas the snippet I showed only has one string. The fact that it breaks two lines, or has multiple sets of quotes, is irrelevant.

Tim Smith wrote:
If what you said was true, the strings would have a '\0' between them.

I don't know where you pulled this from. Confused | :confused:

Tim Smith wrote:
Also, there is nothing that says that strings are placed in the EXE in the same order they are found in the source files.

Uh, actually there is. While the preprocessor sees two separately quoted strings, once the extra quotes (and backslash) are removed, the compiler sees only one. Therefore, they are in memory in exactly the same way had they been written as one continuous string.


"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen


GeneralRe: Syntax Error NOT! Pin
Tim Smith12-Aug-04 3:55
Tim Smith12-Aug-04 3:55 
GeneralRe: Syntax Error NOT! Pin
David Crow12-Aug-04 4:51
David Crow12-Aug-04 4:51 
GeneralRe: Syntax Error NOT! Pin
Tim Smith11-Aug-04 3:54
Tim Smith11-Aug-04 3:54 
GeneralProcess Injection Pin
Reza Shademani11-Aug-04 3:46
Reza Shademani11-Aug-04 3:46 
GeneralRe: Process Injection Pin
David Crow11-Aug-04 3:57
David Crow11-Aug-04 3:57 
GeneralSuggestions needed - CListCtrl problem Pin
BlackDice11-Aug-04 2:52
BlackDice11-Aug-04 2:52 
GeneralRe: Suggestions needed - CListCtrl problem Pin
V.11-Aug-04 3:08
professionalV.11-Aug-04 3:08 
GeneralRe: Suggestions needed - CListCtrl problem Pin
BlackDice11-Aug-04 3:16
BlackDice11-Aug-04 3:16 
GeneralReleasing MFC projects Pin
KnaveWave11-Aug-04 2:51
KnaveWave11-Aug-04 2:51 
GeneralRe: Releasing MFC projects Pin
Antony M Kancidrowski11-Aug-04 3:19
Antony M Kancidrowski11-Aug-04 3:19 
GeneralRe: Releasing MFC projects Pin
Jaime Stuardo11-Aug-04 3:28
Jaime Stuardo11-Aug-04 3:28 
GeneralQuestion Pin
rfixxxer11-Aug-04 2:01
rfixxxer11-Aug-04 2:01 
GeneralRe: Question Pin
dipeka11-Aug-04 2:15
dipeka11-Aug-04 2:15 
GeneralRe: Question Pin
rfixxxer11-Aug-04 2:51
rfixxxer11-Aug-04 2:51 
GeneralRe: Question Pin
Maximilien11-Aug-04 2:41
Maximilien11-Aug-04 2:41 
GeneralRe: Question Pin
rfixxxer11-Aug-04 2:56
rfixxxer11-Aug-04 2:56 
GeneralRe: Question Pin
Maximilien11-Aug-04 4:26
Maximilien11-Aug-04 4:26 

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.