C
Chad
say I have an ascii art input file like
______
< gnu? >
------
\ , ,
\ /( )`
\ \ \___ / |
/- _ `-/ '
(/\/ \ \ /\
/ / | ` \
O O ) / |
`-^--'`< '
(_.) _ ) /
`.___/` /
`-----' /
<----. __ / __ \
<----|====O)))==) \) /====
<----' `--' `.__,' \
| |
\ /
______( (_ / \______
,' ,-----' | \
`--{__________) \/
What I want to do is read this fle into, and have it printed to the
standard output. I thought about maybe using fgets() to read each line
in at a time. I then would store this line in an array. After I read
each, and stored each line in an array, I would just print the array.
Is this a sane approach?
Chad
______
< gnu? >
------
\ , ,
\ /( )`
\ \ \___ / |
/- _ `-/ '
(/\/ \ \ /\
/ / | ` \
O O ) / |
`-^--'`< '
(_.) _ ) /
`.___/` /
`-----' /
<----. __ / __ \
<----|====O)))==) \) /====
<----' `--' `.__,' \
| |
\ /
______( (_ / \______
,' ,-----' | \
`--{__________) \/
What I want to do is read this fle into, and have it printed to the
standard output. I thought about maybe using fgets() to read each line
in at a time. I then would store this line in an array. After I read
each, and stored each line in an array, I would just print the array.
Is this a sane approach?
Chad