Search:

Type: Posts; User: Richardcavell

Search: Search took 0.01 seconds.

  1. Right, I assumed what "compound literal" meant,...

    Right, I assumed what "compound literal" meant, incorrectly. My bad.

    I think the "This " "string" ".\n" technique seems much better.

    Richard
  2. How to create a compound literal for maximum compatibility

    Hi all. One can create a long string literal like this:



    char *mystring = "This is all one"
    " string";


    or:
Results 1 to 2 of 2