|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
two strings to one
The following code gives me an odd error
Code:
String * strg = textBox1->Text + listBox1->SelectedItem->ToString(); the error message: cannot perform pointer arithmetic on __gc pointer 'System::String __gc *' What should i do? Last edited by Natti : March 17th, 2004 at 07:58 AM. |
|
#2
|
|||
|
|||
|
Quote:
Are you trying to concatenate two strings? Then you do this way with VB: str = str1 & str2 |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > .Net Development > two strings to one |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|