Thread: further troubles with sets

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User axon's Avatar
    Join Date
    Feb 2003
    Posts
    2,572

    further troubles with sets

    Ok guys, I will post a bunch of code below. The first is my main.cpp, and the second is Sets.h.

    What I can't figure out is how to keep a running order of the sets. How can I create new sets and keep the ones allready created? If I use linked list that will have pointers to the set arrays some of my set manipulations will not meet time reqs.

    Right now the create() fuction sends the ints to a stack which then creates the array.

    any ideas?
    Code:
    updated code below
    Last edited by axon; 12-03-2003 at 11:25 PM.

    some entropy with that sink? entropysink.com

    there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem aligning floating point numbers
    By esbo in forum C Programming
    Replies: 4
    Last Post: 01-05-2009, 08:09 PM
  2. Stl sets and custom classes.
    By cunnus88 in forum C++ Programming
    Replies: 3
    Last Post: 05-12-2006, 11:58 PM
  3. Major Problems with GetSaveFileName() and GetOpenFileName()
    By CodeHacker in forum Windows Programming
    Replies: 8
    Last Post: 07-12-2004, 11:05 AM
  4. creating new sets
    By axon in forum C++ Programming
    Replies: 7
    Last Post: 12-03-2003, 06:37 PM
  5. Just one Question?
    By Irish-Slasher in forum C++ Programming
    Replies: 6
    Last Post: 02-12-2002, 10:19 AM