hi all,
see the following code:
is there any wrong with my code?since the list only display the last result, and some additional strange character row. anyone know why is that? thanks!!Code:for (int i=0; i<=10; i++){ if(data.gettxt(i).Find(editbxtxt)>=0){ CString *p = new CString[80]; p = new CString(details); resultlist result; result.buffer= p; p++; } //result dialog: for((int i=0; i<=10; i++){ list.addstring(*buffer); buffer++ }