1.
Random Strings
Write a program that generates and displays twenty random strings,
each consiting of ten capital letters {A...Z}.
2.
Color Matrix
Write a program that displays a single character in all possible
combinations of foreground and background colors (16x16 =256). The
colors are numbered from 0 to 15, so you can use a nested loop to
generate all possible combinations. |
Request for Question Clarification by
jeanluis-ga
on
09 Apr 2003 02:54 PDT
Hello,
I need more information here, I assume what you want is someone to
implement these two problems in some kind of computer program. In
order to do so we would need to know what platform, what compiler,
etc... Also can you be more specific on #2, I am not sure if you want
a block of color on the screen, or just a block of chars representing
colors on the screen. In fact it would be nice if you could provide
some example output for both problems, and if you could tell us what
these are for (i.e. homework, or just getting ready for a test, or
just curious) so that we can comment appropriately.
Thanks
-jld
|
Clarification of Question by
bildy-ga
on
09 Apr 2003 10:11 PDT
1. I would like these two separate questions implemented into two
different simple assembly programs.
2. I am running a windows operating system and using MASM as my
compilier.
3. #2 is written exactly as the question was posed to me. What it
seems to me is that it is looking for one character (i.e. A) to be
displayed in the 16 different foreground as well as 16 different
background colors. Which means, there should be 256 "A's"(or
whichever character your choose) displayed on the screen, in all
combinations of foreground and background colors.
4. In using these programs, I am preparing for an upcoming exam, so
it would be EXTREMELY helpful if these programs were thoroughly
commented.
Thanks alot, and please feel free to clarify.
|
Clarification of Question by
bildy-ga
on
10 Apr 2003 07:32 PDT
I have upped the amount to $20 for answering this question. If at all
possible, please answer within the next few hours. Thanks !
|
Clarification of Question by
bildy-ga
on
11 Apr 2003 20:17 PDT
Obviously I do not understand how to do these. The test is on Monday,
so I would like the answers within the next 24 hours. Please let me
know what you can do. Thanks.
|
Clarification of Question by
bildy-ga
on
17 Apr 2003 20:44 PDT
What would it take to get someone to answer this question for me?
|