All Questions
Tagged with data-visualization c
11 questions
9
votes
4
answers
1k
views
Reverse Engineering Data Files (Binary Visualization)
Binary Visualization based on Christopher Domas talk: youtube link and this Russian programmer where I discovered this talk: youtube link.
Algorithm:
Scan the pairs of bytes of a file with a sliding ...
5
votes
1
answer
128
views
Trie Implementation, Graph Visualization and Auto-Completion in C
Given a list of strings (say a text file containing some C symbols: c-symbols.txt), the program can:
Generate a graph of the underlying trie (-p/--prefix can be specified to inspect a
specific prefix ...
3
votes
1
answer
90
views
Bar graph of Easter date distribution
Computing Easter for a given year is a classic computational problem.
It is also one of the few cases when code seems to just have to live with magic numbers.
Alternative to magic numbers: Decoding ...
4
votes
1
answer
227
views
Create a histogram of the lengths of words
I am reading through K&R C 2nd Edition, and I am on exercise 1-13. The exercise is to write a program to print a histogram of the lengths of words in
its input. I wrote a program that successfully ...
7
votes
3
answers
435
views
K&R Exercise 1-13. Printing histogram of word lengths (vertical variant)
I'm going through the K&R book (2nd edition, ANSI C ver.) and want to get the most from it. How does the following solution look to you? Note that, for the sake of exercise, I don't want to use ...
3
votes
2
answers
1k
views
K&R Exercise 1-13. Printing histogram of word lengths (horizontal variant)
I'm going through the K&R book (2nd edition, ANSI C ver.) and want to get the most from it. How does the following solution look to you? Note that, for the sake of exercise, I don't want to use ...
1
vote
1
answer
632
views
Galton Board Simulation
This program is written for Windows 7 under MinGW using gcc.
I'm seeking recommendations for improving the program's portability.
...
6
votes
2
answers
415
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 ...
3
votes
2
answers
1k
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, ...
8
votes
2
answers
5k
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 ...
5
votes
3
answers
957
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 <...