Thread: the stack class

  1. #1
    makimura
    Guest

    the stack class

    how would i go about clearing out a standard stack class with a member function?

    Maki

  2. #2
    makimura
    Guest

    ...

    on second thought.. i guess i dont need it as a specific member function.. it only needs access to the public interface of a stack i suppose.. so still. how would i go about doin that correctly

  3. #3
    geek SilentStrike's Avatar
    Join Date
    Aug 2001
    Location
    NJ
    Posts
    1,141
    Have you written any more general containers to use as a basis?
    Prove you can code in C++ or C# at TopCoder, referrer rrenaud
    Read my livejournal

  4. #4
    makimura
    Guest
    just a standard stack class with a push and pop functions with other functions to check if the stack if full or empty

    maki

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  2. Need Help with Stack
    By trongsi in forum C++ Programming
    Replies: 9
    Last Post: 05-23-2006, 04:14 PM
  3. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  4. Finished Stack
    By the pooper in forum C Programming
    Replies: 11
    Last Post: 02-02-2005, 10:52 AM
  5. structure vs class
    By sana in forum C++ Programming
    Replies: 13
    Last Post: 12-02-2002, 07:18 AM