We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

how to write a program to draw a star map?

lojayn
lojayn asked
on
Medium Priority
1,506 Views
Last Modified: 2014-10-26
my question is in the attached files. The program is difficult for me I don't know how to start writing it.
starmap.txt
output-sample.jpg
image1.txt
image2.txt
Comment
Watch Question

ozo
CERTIFIED EXPERT
Most Valuable Expert 2014
Top Expert 2015

Commented:
Do you know how to start writing any program, or are you having difficulty with this program in particular?
What is the meaning of the imageX.txt files? They seem to consist only of characters @AB...JK an maybe encode a sequence of numbers in {0,1,...,11} ...

Author

Commented:
All detals are included in the starmap.txt file , yes this is an assignment ,though I  know that you can't code for me. I need some thing like the psuedo code for this program so that I can start coding it.
CERTIFIED EXPERT
Most Valuable Expert 2014
Top Expert 2015
Commented:
the details in the starmap.txt file could be considered a form of pseudo code.
Elaborating it into to more detailed pseudo code.may prejudice way the solution is approached,
but one method could be
read the input, translating the characters into numbers and placing then in  24x34 array,
scan the array, summing the values surrounding each of the center 22x32 elements of the array
and place the sums divided b6 6 in a  22x32 array
scan that array, outputting the appropriate symbol.

If you have difficulty doing that all at once, you might start by writing one piece, and see if you can get that working.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Commented:
can u give me the source code? it's due this friday, 02-27-09. i really need the solution

Commented:
nevermind. I just found out that you can't display the source code. lolz! I already know how to translate the chars into ints, and I have them displayed, but how do you scan the array?
CERTIFIED EXPERT
Top Expert 2006

Commented:
How to count the average of a star map by counting one up, one down, one  left,  one right and center divide it by six.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.