Computing.Net > Forums > Programming > [C programming] Printing '/' char

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

[C programming] Printing '/' char

Reply to Message Icon

Name: zerodepth
Date: May 14, 2006 at 16:50:47 Pacific
OS: Windows XP
CPU/Ram: Pentium 4
Product: Dell
Comment:

Sorry if this is a newbie question but I'm trying to print an ASCII picture in C using slashes ( / ). How would I go about doing this? Thanks.




Sponsored Link
Ads by Google

Response Number 1
Name: zerodepth
Date: May 14, 2006 at 19:34:41 Pacific
Reply:

I'm sorry I meant the '\' char.


0

Response Number 2
Name: Mechanix2Go
Date: May 15, 2006 at 03:20:24 Pacific
Reply:

main () {;

printf ("hello\n");
printf ("hello\\");

}


If at first you don't succeed, you're about average.

M2


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: [C programming] Printing '/' char

c programming www.computing.net/answers/programming/c-programming/2437.html

Need help with C programming www.computing.net/answers/programming/need-help-with-c-programming/6970.html

C programming www.computing.net/answers/programming/c-programming-/5827.html