Click here to Skip to main content
15,895,283 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to convert CString to char Pin
James R. Twine12-Apr-06 14:43
James R. Twine12-Apr-06 14:43 
AnswerRe: How to convert CString to char Pin
Hamid_RT12-Apr-06 20:44
Hamid_RT12-Apr-06 20:44 
Questionplotting in Visual Studio C++ Pin
ilda lapi12-Apr-06 11:14
ilda lapi12-Apr-06 11:14 
AnswerRe: plotting in Visual Studio C++ Pin
masnu12-Apr-06 12:06
masnu12-Apr-06 12:06 
AnswerRe: plotting in Visual Studio C++ Pin
El Corazon12-Apr-06 13:28
El Corazon12-Apr-06 13:28 
QuestionDevice drivers: MSVAD sample drivers Pin
imsaady12-Apr-06 10:04
imsaady12-Apr-06 10:04 
QuestionEditing long lines in VC++ 6.0 Pin
Ger Hayden12-Apr-06 9:22
Ger Hayden12-Apr-06 9:22 
AnswerRe: Editing long lines in VC++ 6.0 Pin
David Crow12-Apr-06 9:39
David Crow12-Apr-06 9:39 
Ger Hayden wrote:
Anyone know the line continuation symbol?


You can either use the backslash character like:

m_Query.Format("select Route_ID \
    Stage_ID, \
    Price, \
    valid_from, \
    valid_to, \
    Price_Key \
    from TicketPrice \
    where Ticket_Type = '%s' \
    FOR UPDATE", m_selected_id);
or enclose each string in quotes like:

m_Query.Format("select Route_ID "
               "Stage_ID, "
               "Price, "
               "valid_from, "
               "valid_to, "
               "Price_Key "
               "from TicketPrice "
               "where Ticket_Type = '%s' "
               "FOR UPDATE", m_selected_id);



"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

"There is no death, only a change of worlds." - Native American Proverb


GeneralRe: Editing long lines in VC++ 6.0 Pin
Ger Hayden12-Apr-06 9:50
Ger Hayden12-Apr-06 9:50 
QuestionVC++ 6 project works in debug but not release Pin
smikesmith12-Apr-06 8:56
smikesmith12-Apr-06 8:56 
AnswerRe: VC++ 6 project works in debug but not release Pin
prasad_som12-Apr-06 19:21
prasad_som12-Apr-06 19:21 
QuestionPlease Help! What would cause Member Variable problem? Pin
Charlie Curtis12-Apr-06 8:54
Charlie Curtis12-Apr-06 8:54 
QuestionRe: Please Help! What would cause Member Variable problem? Pin
David Crow12-Apr-06 9:10
David Crow12-Apr-06 9:10 
AnswerRe: Please Help! What would cause Member Variable problem? Pin
Charlie Curtis12-Apr-06 9:26
Charlie Curtis12-Apr-06 9:26 
GeneralRe: Please Help! What would cause Member Variable problem? Pin
David Crow12-Apr-06 9:34
David Crow12-Apr-06 9:34 
GeneralRe: Please Help! What would cause Member Variable problem? Pin
Charlie Curtis12-Apr-06 10:10
Charlie Curtis12-Apr-06 10:10 
GeneralRe: Please Help! What would cause Member Variable problem? Pin
David Crow12-Apr-06 10:17
David Crow12-Apr-06 10:17 
QuestionProblem when Change number of arguments of MFC activeX control's exposed method Pin
Michael Tang12-Apr-06 8:48
Michael Tang12-Apr-06 8:48 
AnswerRe: Problem when Change number of arguments of MFC activeX control's exposed method Pin
Michael Tang12-Apr-06 9:42
Michael Tang12-Apr-06 9:42 
AnswerRe: Problem when Change number of arguments of MFC activeX control's exposed method Pin
prasad_som12-Apr-06 19:41
prasad_som12-Apr-06 19:41 
GeneralRe: Problem when Change number of arguments of MFC activeX control's exposed method Pin
Michael Tang13-Apr-06 4:05
Michael Tang13-Apr-06 4:05 
GeneralRe: Problem when Change number of arguments of MFC activeX control's exposed method Pin
prasad_som17-Apr-06 2:09
prasad_som17-Apr-06 2:09 
Questioncall stack not getting created Pin
inamulev12-Apr-06 8:29
inamulev12-Apr-06 8:29 
Questionimporting a .net dll into VC6 Pin
Waldermort12-Apr-06 8:23
Waldermort12-Apr-06 8:23 
AnswerRe: importing a .net dll into VC6 Pin
oshah12-Apr-06 13:16
oshah12-Apr-06 13:16 

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.