Is there any header file in c or c++ to implement data structure like graph,trees,stack etc?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You probably mean standard library provided data structures which you can just use without actually writing the code for creating the data structures.
Standard c does not provide any such ready to use constructus a few open source libraries do provide the functionality though.
In C++ the standard Library provides for a variety of template based container classes which you might want to use.
Have a look at std::stack &
Standard Library containers