Hi,

I dont know much about Standard template library(Vectors, Lists, Deque).
I want to do one Program which is as follows.

Write a program to create a data bank which holds the operator and operands of arithmatic/relational/bitwise(etc.,) operations. (Use STLs)
The no. of operand fields(input and output) is variable depending on the kind of operation.

Details:
The number input and ouput fields is unpredictable(ie. it may vary depending on the “operator” field).
For eg.,
AND operation takes 2 inputs and one output( a = b & c),
but
NOT operation has one input and one ouput ( x = !y).

Dev. Platform:
Visual Studio 6.0(if possible)
Visual C++

Note:
1) The number of fields may increase or decrease dynamically.
2) There is no limit upto how many fields it may increase.

Could any one please help me to do this. I dont have idea about standard template libray. sp please get me some tutorials or get me the code for this program

Recommended Answers

All 2 Replies

Well start out writing the program framework. and next you can ask where you need help.

A BST would be a better data structure for your homework.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.