New line or Carraige Return syntax problems

Posted by Smoka on Stack Overflow See other posts from Stack Overflow or by Smoka
Published on 2010-06-10T00:10:46Z Indexed on 2010/06/10 0:22 UTC
Read the original article Hit count: 237

Im pretty new to coding, heres my problem.

Results->Text = "G55 > Y" + System::Convert::ToString(destY);

"Results" is a System.Windows.Forms.Textbox "multiline btw", or so says VS.

That line works fine, but i need a "new line or CR" at the end, so that i can repeat that line with different Literals and a different var in ToString.

For days now ive tried different syntax's ive read about, and i cant get it to take any of them.

Or even a complete different way to input text into Results->Text that would allow for tidy multiline use.

Sidenote: since im using ->Text and System::Convert::ToString in VC, would this code be considered just c++ or .net or CLI? to tighten my searches.

© Stack Overflow or respective owner

Related posts about visual-studio-2010

Related posts about multiline