I am writing a curses program and was wondering if it is possible to declare a multiline string constant like the following:
Thanks.Code:#define GRID" | | | | | | | | ----------- + ----------- + ----------- "
I am writing a curses program and was wondering if it is possible to declare a multiline string constant like the following:
Thanks.Code:#define GRID" | | | | | | | | ----------- + ----------- + ----------- "
Kinda like this?:Code:#define GRID \ " | | \n" \ " | | \n" \ " | | \n" \ " --------- + --------- + --------- \n" \ " | | \n" \ " | | \n" \ " | | \n" \ " --------- + --------- + --------- \n" \ " | | \n" \ " | | \n" \ " | | \n"
My homepage
Advice: Take only as directed - If symptoms persist, please see your debugger
Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"