4-Variable Karnaugh Map simplification process (URGENT!!!)

This is a homework due in less than 48 hrs...
please help ~~


here's the description:





- - - - - - - - - - - - - - - - - - - - - - - - - - -



In this homework, you will write a program
to implement a 4-Variable Karnaugh Map simplification process,
and find the minimum sum-of-products expression.
Note that the minimum sum-of-products expression of a function
is not necessarily unique.

You can reference the flowchart on P.132 and implement it in some way
or create an algorithm yourself to simplify your program.




Your program should be compiled as an executable file
(e.g. Sim.exe for win32 environment),
and you can implement your program in any language
(C, C++, and Java, etc.)



Your program should read input.txt, and initial the K-map according to the input file. You cancreate any data structure to allocate the terms of K-Map.



- - - - - - - - - - - - - - - - - - - - - - - - - - - -







I guess
nothing is more important than the programming bit.

please at least give me a hint
or a method or rough draft (kinda~) to write this program




as a beginner,
i guess i could understand the language that is to be used
in this homework (or should be :P)

and would be very much grateful for your kindly help ^ ^.
well, you could google and come up with something like http://www.planet-source-code.com/URLSEO/vb/scripts/ShowCode!asp/txtCodeId!11921/lngWid!3/anyname.htm and then try to figure out how it works and modify it to suit your needs.
i tried...

is there any source file missing?

coz i cannot compile it : (





i'll try still.

thanks anyway : )
Topic archived. No new replies allowed.