Drawing images using text characters

learn more… | top users | synonyms

3
votes
2answers
238 views

Printing out a diamond with a user-inputted size

I made a program that prints out a diamond with n lines. n is equal to whatever the user inputted. I know I overuse the ternary ...
5
votes
1answer
29 views

Using changeable column formatting to display table

When answering python tuition calculator v2, I got a little carried away, and started building a print_table() function which I don't like the resulting code for, ...
10
votes
4answers
102 views

ASCII art generator in C

I have written an ASCII art generator library. I was practicing data abstraction and code abstraction and I wanted to know if there is something that can be improved. File tree: ...
5
votes
2answers
57 views

Printing octo-thorpes

Given a number, for example, \$6\$, this Python function should print hashes in the following format: # ## ### #### ##### ###### This is the ...
3
votes
2answers
122 views

Printing an arrow of asterisks in Haskell

This code will print an arrow of asterisks, like: * ** *** **** *** ** * ...
6
votes
2answers
69 views

2D array to draw a letter 'F'

This is my code to print letter 'F' with nested loop 2d array. Are there changes that could be made in it to make it look better or more efficient? ...
2
votes
2answers
40 views

Print the length of words as a vertical histogram

I thought I'd give it a shot. What I came up with is from a culmination of my last two submissions, incorporating most of the feedback from this community, including better naming of variables, ...
5
votes
1answer
30 views

Print the frequency of characters as a horizontal histogram

Well, I've used some of the feedback from my last posting to improve how I wrote this program. Mainly using the void parameter in main, initializing my int array to zero without using a for-loop, and ...
4
votes
2answers
47 views

Print the length of words as input as a histogram with horizontal bars

Input A list of words separated by any number of spaces. Output A horizontal ASCII art histogram, where the n-th line is composed by as many asterisks (*) as the ...
5
votes
3answers
75 views

Print the length of words as input to a histogram with horizontal bars

It works, but I'm sure there's a lot of improvement I could make here. I didn't try to get it to work for words over 10 characters in length, and I also didn't want to use built in properties like ...
3
votes
1answer
55 views

Draw an ASCII checkerboard

I'm a newcomer to C++, from C#. I wrote a program that prints an ASCII checkerboard with a side length of the number passed to it (link to original Code Golf question). stdafx.h ...
3
votes
1answer
122 views

ASCII game Java applet

My code first creates a Point object. Then it creates a 25 x 25 array of ASCII in a string where _ marks a miss and the point's ...
16
votes
2answers
2k views

Retro Rocket ASCII Art

Inspired by Nested for-loop ASCII art, I looked at building a more complicated ASCII art than just the normal 'diamond' and 'triangle' variations that crop up occasionally here. The challenge: ...
11
votes
1answer
333 views

ASCII flow chart drawer

After some free ASCII flowchart drawer started charging money, I decided to write my own. Salient features are that you can draw a box (mouse down, mouse move, mouse up), then ctrlB will draw a box. ...
11
votes
4answers
14k views

Printing star greater symbol in Java

I need to print this in Java, but I feel that my code is too big: * ** *** **** *** ** * ...