Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,160,420 members, 7,843,265 topics. Date: Tuesday, 28 May 2024 at 09:42 PM

Lovely Ascii Art In C Code! - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Lovely Ascii Art In C Code! (5022 Views)

Creating UWP Application In C# Or C++ (xaml) / Tutorial: Building A Simple Fraction Arithmetic Program In C# Using TDD / [problem] Write A Program In C++ That Finds The Hcf Of 2 Numbers Without Using A Recursive Function (2) (3) (4)

(1) (Reply) (Go Down)

Lovely Ascii Art In C Code! by Nobody: 11:19pm On Dec 14, 2006
Everybody, look at this lovely pice of ASCII art! It's also very correct C code!


#include <stdio.h>
#define PO(o,t)\
(((o>64)&&(o<91))?(((t>96)&&(t<123))?(t-32)sadt))sad((t>64)&&(t<91))?(t+32)sadt)))

void main() { char *poo= "poot",
*Poo="pootpoot" ,O[9];int o,t,T,p;(t=p =0)||(*O='\0');while
((o= getc( stdin ))!=( EOF))if ((p== 0)&& (((o>64 )&& (
o<91 )) || ((o> 96 ) &&(o< 123) ))) (
t!=8 )&&(O [t]= o)&& (O[++ t] = '\0')
;else {if (t>7) {for (T = 0 ; T <=7; T++ )
printf("%c", PO(*( O+T), *(Poo+ T))); printf
("%c", o);}else if (t>3){for (T =0;T<=
3;T++) printf
("%c", PO(*(O
+T),*( poo+T)

) ) ; printf( "%c" , o ) ; } else printf ( "%s%c" , O , o ) ; ( t = 0 ) || (
* O = '\0' ) ; ( o == 60 ) && ( ++p ) ; ( o == 62 ) && (p!=0) && ( --p ) ; } }
Re: Lovely Ascii Art In C Code! by cod3mind: 12:30pm On Aug 08, 2011
make sense!!!
Re: Lovely Ascii Art In C Code! by Mobinga: 7:14pm On Aug 08, 2011
Have you used Brain Bleep?
Re: Lovely Ascii Art In C Code! by LittleBigDick(m): 5:26am On Jan 01, 2023
grin
Let me try it

(1) (Reply)

Free C/C++ Users Journal v6.0 for Developers / Storage Bindings Of Variables / Learn Coding For Free, With Microverse, Pay The Tuition When You Start Earning.

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 9
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.