File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

i want to draw logical gates (just and/ or ) with logic statement

 
vahid samimi
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all
i have a textbox .user can enter logic statement into. (attached File)
and i want when user clicked submit button , show logical gate.
help me.
tnx
untitled.JPG
[Thumbnail for untitled.JPG]
 
Ahmad Yazdankhah
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Do you expect a piece of code for this?
I don't get what you mean by: please help?
What's your question?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13045
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Logically the first step would be parsing the statement into entities and operators, how far have you gotten on this problem?

Bill

My choice would be parsing to RPN because a + b becomes a b plus - close to the description of an AND gate.

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic