Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

# Questions tagged [ascii-art]

ASCII Art is a graphic design technique that uses the 93 printable/space characters of the 128-character ASCII set to create images.

135 questions
Filter by
Sorted by
Tagged with
109 views

### CS50 pset-1 itsa Mario - make a half-pyramid using parameters from user input

I'm taking Harvard's introduction to computer science (CS50) course online, and I've written a program that satisfies a coding challenge but I don't understand what I did or how I can improve it. I'm ...
2k views

### Producing triangles of asterisks based on height

I have created a simple terminal program: it allows the user to enter a height and it will produce triangles of asterisks (*'s) based on the height. I have just started learning C# as practice for my ...
205 views

### K&R C Exercise 1-14: Histogram of the frequency of types of characters

This is for K&R C Exercise 1-14: basically asking to create a program that prints a histogram of the frequency of types of characters. This is done with very basic C functions/knowledge as covered ...
659 views

### Printing multiple different shapes on the same line

Whilst scanning my C programming textbook, I saw this practice problem from a very early chapter: I got to thinking that the problem probably wants you to draw each shape separately, which would be ...
372 views

### ASCII art minesweeper clone

I wanted to code a small ASCII art minesweeper clone, to see what it looked like and how much code it needed. The result is not so bad, under 80 new lines of code in total. It looks kinda readable to ...
524 views

### The ugly Christmas tree, Haskell style

Inspired by a few inverse tree ascii art F# questions, I wanted to give it a shot in Haskell. As seen in the linked questions, the resulting program reads an Int ...
1k views

### xo squares in ASCII

When I finished this problem, I thought about how I initialized my loop iterator variables i and j. Originally I had ...
112 views

### World's worst Christmas tree

Inspired by this question, I decided to grow my own fractal tree. The problem is: given an integer $n$, $0 \leq n \leq 5$, print the $n$th iteration of the fractal tree. The tree is probably ...
163 views

474 views

### Printing an arrow of asterisks in Haskell

This code will print an arrow of asterisks, like: * ** *** **** *** ** * ...
26k views

### Printing star greater symbol in Java

I need to print this in Java, but I feel that my code is too big: * ** *** **** *** ** * ...
1k 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? ...
137 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 ...
740 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, ...
3k 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 ...
702 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 <...
688 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. ...
639 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 ...