Splitting up strings in C source code.

subetha qo71OM

When printing out multiple lines of text in C, it is common to see code like this: printf (“+——————–+n”); printf (“| Welcome to my BBS! |n”); printf (“+——————–+n”); printf (“| C)hat G)oodbye |n”); printf (“| E)mail H)elp |n”); printf (“+——————–+n”); That looks okay, but is calling a function for each …

Read More

From: Retro Roundup