string on multiple lines in c

Sharky Forums


Results 1 to 8 of 8

Thread: string on multiple lines in c

Threaded View

  1. #1
    Goldfish
    Join Date
    Dec 2004
    Posts
    76

    string on multiple lines in c

    I want to make a long string in C using multiple lines.
    I try
    Code:
     "This is a long ...................\
                     ............... string"
    and the a unprintable character is displayed on the output for \
    how do I do this without using strcat?
    Last edited by xrax; 08-10-2005 at 12:34 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •