Skip to content

monthol8th/ADT_Code

 
 

Repository files navigation

ADT Code

don't push output file to this repo.

###How to use###

make TARGET="/*FILE'S NAME YOU WANT TO RUN*/"
  • stack.cpp (cal) - use pointer and array to controll stack
  • sizeof.c (cal) - print variable and struct size
  • towerOfHanoi.c (Plan) - use simple recursion to implement tower of hanoi problem
  • fac-with-dynamic-recur-tailcall.c (Plan) - implement factorial calculate in 3 algorithm
  • toPostfix.cpp (Plan) - change infix to postfix using STL stack
  • toPrefix.cpp (Plan) - change infix to prefix using STL stack
  • passBy.c (cal) - example pass data by value and pass by ref
  • memoryAllocation.c (tid) - example memory allocate
  • tidHanoi.c (tid) - hanoi for remember to quiz
  • STL = cpp library with simple ADT and algorithm, see example at STLstack.cpp (can't compile and run)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 62.4%
  • C 36.8%
  • Makefile 0.8%