plss give me a simple queue and stack program tnx

plss help me
closed account (1yR4jE8b)
1
2
3
4
5
6
7
8
9
10
#include <stack>
#include <queue>

int main()
{
     std::stack<int> x;
     std::queue<int> y;

     return 0;
}


In other words, no one is doing your homework for you.
6 errors??


can u give me a c++ compiler??
closed account (S6k9GNh0)
You can't be serious....
sorry. im only beginer :(
closed account (S6k9GNh0)
You can use Code::Blocks with MinGW or VC++ which are the two most basic IDE environments I know of that are free. These are IDEs, not compilers. VC++ is an IDE with a compiler that just happens to be called Visual C++ compiler. Code::Blocks comes integrated with MinGW which is a compiler but Code::Blocks is an IDE that works with the compiler or in this case, MinGW.

After that, go here to help learn C++ basics: http://cplusplus.com/doc/tutorial/
Last edited on
http://cplusplus.com/forum/articles/7263/

Little search button never hurt anyone.
Topic archived. No new replies allowed.