Page 1 of 1

strcpy question

PostPosted: Sat Jan 17, 2009 2:04 am
by zygoth
How do I call a new line in strcpy? I tried inserting /n but it just displays it with my text.

strcpy(text, "I want this to go on two or more lines! /n just shows up as text")

Thanks

Re: strcpy question

PostPosted: Sat Jan 17, 2009 2:20 am
by Rux
You got it backwards. Its \n not /n.

Re: strcpy question

PostPosted: Sat Jan 17, 2009 2:34 pm
by zygoth
Ok thanks I'll try that.