Search:

Type: Posts; User: jimblumberg

Search: Search took 0.02 seconds.

  1. Replies
    18
    Views
    3,509

    A couple of things to first is the use of exit()....

    A couple of things to first is the use of exit(). You should avoid using this C function in a C++ program. It doesn't properly call C++ destructors and can lead to problems. Since the only function...
  2. Replies
    18
    Views
    3,509

    First I would test you assumption by printing the...

    First I would test you assumption by printing the sizes of the vector and the contents. Place this right after you define you vector<vector<vector>>>.


    cout << NextState.size() << " ";
    cout <<...
  3. Replies
    18
    Views
    3,509

    It really sounds like you should be using classes...

    It really sounds like you should be using classes that contain vectors instead of using raw vectors.

    What exactly are you trying to accomplish?

    What exactly is a "NFA"?

    Jim
  4. Replies
    18
    Views
    3,509

    Vectors are dynamic data structures, they can...

    Vectors are dynamic data structures, they can grow or shrink to fit the data.



    There are several ways, you may want to start by studying documentation for the vector class.



    This is...
Results 1 to 4 of 5