D
den.NET
i use c++.NET 2003.i simply make a windows form.2 text boxs( takes the
number),a buton and another multilined textbox.So simple,when u hit
the button it just takes the number in the 1st text box and 2nd
textbox and writes to the multilined 3rd textbox.soo simple.
code i have to use in the button code;
char * ekran = new char[200];
sprintf(ekran,"%.2f\t%.2f\t\n",v1,v2);
String * output = new String(ekran);
delete [] ekran;
outputTextBox->Text=String::Concat(outputTextBox->Text,output),stream->ReadToEnd();
but the output is:
1200.00 15.00 []1200.00 15.00 []1200.00 15.00 []
SO \n doesnt work!it just outputs as a small rectangular(i show it as
[]).
why \n is not functional in my code?what could be the problem?please
help me!.thanks to anyone who cares.have a nice day.
*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
number),a buton and another multilined textbox.So simple,when u hit
the button it just takes the number in the 1st text box and 2nd
textbox and writes to the multilined 3rd textbox.soo simple.
code i have to use in the button code;
char * ekran = new char[200];
sprintf(ekran,"%.2f\t%.2f\t\n",v1,v2);
String * output = new String(ekran);
delete [] ekran;
outputTextBox->Text=String::Concat(outputTextBox->Text,output),stream->ReadToEnd();
but the output is:
1200.00 15.00 []1200.00 15.00 []1200.00 15.00 []
SO \n doesnt work!it just outputs as a small rectangular(i show it as
[]).
why \n is not functional in my code?what could be the problem?please
help me!.thanks to anyone who cares.have a nice day.
*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*