tried creating BFS and DFS algorithm for a graph,but can't seem to make it work in C++

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/learnprogramming

Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • Minetest

    Minetest is an open source voxel game engine with easy modding and game creation

    I went on github and looked at a random source file from a random C++ project, if you go on this link you should see what it should look like (compare it to your own, you will find it much more readable ) https://github.com/minetest/minetest/blob/master/src/mapnode.cpp

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts