7. Inbuilt stack STL #

Created Wednesday 22 January 2020

stack_STL.cpp

  1. It’s better that we use .h now. We do this so as to avoid making main() inside the .h, as this is not allowed.
  2. If we write “something”.h, the header is in the directory of the main file. For anywhere else, specify the complete address or use . and … if that does the job.
  3. Inbuilt headers are included using <>

For stacks header is: which is a template type.

Note: There’s no need for any other thing execpt that told here.