the stack class

This is a discussion on the stack class within the C++ Programming forums, part of the General Programming Boards category; how would i go about clearing out a standard stack class with a member function? Maki...

  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, 09:18 PM
  2. Need Help with Stack
    By trongsi in forum C++ Programming
    Replies: 9
    Last Post: 05-23-2006, 05:14 PM
  3. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 07: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21