writing a program without using any type of container

hello every body
this is my sily homework to write a program without using any type of container .
somebody help, plz
I am assuming you mean the stl containers. Why not write a container?
i need an example that can be written with containers (such as array , list, vector...) and also can be written without using them.
no relation with standard templates
plz help , i have to complete this homework for tomorow . thanks
I have one, it may require you to do a lot of research. Maybe someone else has another idea that is easier. Mine is:
With containers: use an array to do a dynamic programming solution for the nth number in the Fibonacci sequence.
Without containers: Use two variables to calculate the nth number in the Fibonacci sequence.

Hope it helps.
dear Script Coder thank you so much! i was searching for something like this!
but if i couldnt write these programs then i will ask for help again!
thanks again!!!
Last edited on
Topic archived. No new replies allowed.