Thread: Transition table

  1. #1
    Registered User
    Join Date
    Oct 2006
    Posts
    7

    Transition table

    Is there any c++ equivalent to Java's state transition table? If there is can anyone illustrate with an example?

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    What is Java's state transition table? I consider myself a good Java programmer, and I've never heard of such a thing, so how would the people here who know less about Java know?
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #3

  4. #4
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    Note how that is a package specific to your university and nobody would really know it.

    So a better question to ask is, "Is there support for finite state machines in C++?"

    To which the answer is: The language itself has no specific support for FSMs. But if you do a search for C++ and fsm on Google, several libraries and generators pop up. Also, the book "C++ Template Metaprogramming" by Abrahams and Gurtovoy demonstrates how you could write an FSM generator in C++.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Automata Transition Table Generator?
    By audinue in forum C Programming
    Replies: 0
    Last Post: 06-25-2008, 04:30 AM
  2. Writing array, to file
    By zootreeves in forum C Programming
    Replies: 9
    Last Post: 09-08-2007, 05:06 PM
  3. extra word printing
    By kashifk in forum C++ Programming
    Replies: 2
    Last Post: 10-25-2003, 04:03 PM
  4. inputting words from a file
    By kashifk in forum C++ Programming
    Replies: 5
    Last Post: 10-24-2003, 07:18 AM
  5. help with operator <
    By kashifk in forum C++ Programming
    Replies: 1
    Last Post: 10-21-2003, 03:49 PM