Click here to Skip to main content
14,832,945 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: what am I doing wrong? Pin
Hamid_RT9-Aug-06 22:44
MemberHamid_RT9-Aug-06 22:44 
GeneralRe: what am I doing wrong? Pin
David Crow10-Aug-06 3:32
MemberDavid Crow10-Aug-06 3:32 
AnswerRe: what am I doing wrong? Pin
Zac Howland10-Aug-06 4:30
MemberZac Howland10-Aug-06 4:30 
AnswerRe: what am I doing wrong? Pin
freakinn00b11-Aug-06 5:30
Memberfreakinn00b11-Aug-06 5:30 
Questionvariable type [modified] Pin
With_problem9-Aug-06 19:18
MemberWith_problem9-Aug-06 19:18 
AnswerRe: variable type Pin
_AnsHUMAN_ 9-Aug-06 19:24
Member_AnsHUMAN_ 9-Aug-06 19:24 
QuestionRe: variable type Pin
David Crow10-Aug-06 3:37
MemberDavid Crow10-Aug-06 3:37 
Questionprint in list box Pin
With_problem9-Aug-06 18:22
MemberWith_problem9-Aug-06 18:22 
I want to print data in list box coming from server,
for this i am using this code
<br />
#define LOG \<br />
	if (::IsWindow(m_Log.m_hWnd)) \<br />
      m_Log.Printf<br />
<br />
 void CWartzDlg::Onconnect() <br />
{<br />
  CString login= m_arielapi.Login("wwtest2","RD9234","wwtest2");<br />
  CString serveradd=m_arielapi.GetServerAddress(login);<br />
   <br />
<br />
  BOOL bSuccess=FALSE;<br />
  <br />
	for(int n=0;n<3;n++)<br />
  {<br />
       if(login)<br />
	   {<br />
          bSuccess=TRUE;<br />
		  break;<br />
           }<br />
	   }<br />
      if(bSuccess)<br />
	  {<br />
<br />
	  LOG(0,_T("==>Connected to server[%s]"),login,serveradd);<br />
	  }<br />
}<br />
<br />

error C2039: 'Printf' : is not a member of 'CString'

This error i am getting,what should i do if dont use the printf,or is there any function in string declartion that can b used to print
thanks for any help from your side,Sometime a small hint will do a great work.


-- modified at 0:40 Thursday 10th August, 2006
AnswerRe: print in list box Pin
_AnsHUMAN_ 9-Aug-06 18:37
Member_AnsHUMAN_ 9-Aug-06 18:37 
GeneralRe: print in list box Pin
With_problem9-Aug-06 19:10
MemberWith_problem9-Aug-06 19:10 
GeneralRe: print in list box Pin
_AnsHUMAN_ 9-Aug-06 19:22
Member_AnsHUMAN_ 9-Aug-06 19:22 
GeneralRe: print in list box Pin
With_problem9-Aug-06 20:25
MemberWith_problem9-Aug-06 20:25 
AnswerRe: print in list box [modified] Pin
Amar Sutar9-Aug-06 19:49
MemberAmar Sutar9-Aug-06 19:49 
GeneralRe: print in list box [modified] Pin
With_problem9-Aug-06 20:26
MemberWith_problem9-Aug-06 20:26 
AnswerRe: print in list box Pin
Hamid_RT9-Aug-06 21:54
MemberHamid_RT9-Aug-06 21:54 
QuestionSTL headache Pin
Waldermort9-Aug-06 17:32
MemberWaldermort9-Aug-06 17:32 
AnswerRe: STL headache Pin
Christian Graus9-Aug-06 17:38
protectorChristian Graus9-Aug-06 17:38 
AnswerRe: STL headache Pin
Zac Howland10-Aug-06 4:38
MemberZac Howland10-Aug-06 4:38 
QuestionQuicksort algorithm is Causing stack overflow [modified] Pin
JKallen9-Aug-06 16:43
MemberJKallen9-Aug-06 16:43 
AnswerRe: Quicksort algorithm is Causing stack overflow Pin
PJ Arends9-Aug-06 16:53
professionalPJ Arends9-Aug-06 16:53 
GeneralRe: Quicksort algorithm is Causing stack overflow Pin
JKallen9-Aug-06 16:58
MemberJKallen9-Aug-06 16:58 
AnswerRe: Quicksort algorithm is Causing stack overflow Pin
Christian Graus9-Aug-06 16:54
protectorChristian Graus9-Aug-06 16:54 
GeneralRe: Quicksort algorithm is Causing stack overflow Pin
JKallen9-Aug-06 17:00
MemberJKallen9-Aug-06 17:00 
GeneralRe: Quicksort algorithm is Causing stack overflow Pin
Christian Graus9-Aug-06 17:02
protectorChristian Graus9-Aug-06 17:02 
GeneralRe: Quicksort algorithm is Causing stack overflow Pin
JKallen9-Aug-06 17:04
MemberJKallen9-Aug-06 17:04 

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.