[ create a new paste ] login | about

Link: http://codepad.org/TcOdcyCc    [ raw code | fork ]

C++, pasted on Oct 8:
#include <iostream>
#include "Stack.hpp"

using namespace std;



int main(int argc, const char * argv[]) {
    
    
    Stack<int> a,b;
    
    
    a.push(1);
    a.push(2);
    a.push(3);
    a.push(4);
    
    a.showStack();
    
    b = a.splitStack(1);

    return 0;
}


Create a new paste based on this one


Comments: