Hey, i am trying to make a concole program, and i wish to have a sort of title:
PHP Code:
#####################################
# _____ _ _____ #
# / ____| | | / ____|#
# | | | | | | #
# | | | | | | #
# | |____ _ | |____ _ | |____ #
# \_____| (_) |______| (_) \_____|#
# #
# Command Line Chat #
# #
# By Michael Knights #
#####################################
i tryed using printf() to do this like so:
PHP Code:
printf("\t\t\t ##########################\n");
printf("\t\t\t # _____ _ _____ #\n");
printf("\t\t\t # / ____| | | / ____| #\n");
printf("\t\t\t # | | | | | | #\n");
printf("\t\t\t # | | | | | | #\n");
printf("\t\t\t # | |____ _ | |____ _ | |____ #\n");
printf("\t\t\t # \_____| (_) |______| (_) \_____| #\n");
printf("\t\t\t # #\n");
printf("\t\t\t # Command Line Chat #\n");
printf("\t\t\t # #\n");
printf("\t\t\t # By Michael Knights #\n");
printf("\t\t\t #########################\n");
my problem is that printf uses back slashes as indenifers for thing like tab and newline so all the \ in the asii art get removed when the program complies.
i was wondering if any of you smart people knew of another way to print the chartors to the screen with out lossing the \'s
Thanks.