Click here to Skip to main content
16,004,974 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Syntax Error NOT! Pin
Tim Smith12-Aug-04 3:55
Tim Smith12-Aug-04 3:55 
Read the C++ standard section 2.13.4.3. It specifically states that:

In translation phase 6 (2.1), adjacent narrow string literals are concatenated and adjacent wide string literals are concatenated. If a narrow string literal token is adjacent to a wide string literal token, the behavior is undefined...

The two strings are concatentated. They way you describe it is totally wrong. It doesn't just ignore the two quotes as also covered in 2.13.4.3. It doesn't just place the two strings after each other in the EXE. Literal string pooling requires that strings be moved around. But that is probably implementation specific but that does not mean it breaks the standard. Please find the section in the standard that says it must do this.

Also, a backslash is not required.

Tim Smith

I'm going to patent thought. I have yet to see any prior art.
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 
GeneralRe: Question Pin
rfixxxer11-Aug-04 4:33
rfixxxer11-Aug-04 4:33 

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.