How To Share Code W/ Other Devs? (And naming) : <p>tl;dr I have code I think others would find useful but don't know how to package it up for others to include in their projects and easily modify.</p>

<p>I'm new to C++ and created an algorithm to solve paths efficiently (enough) for a bot. The algorithm creates the longest path possible within a set of points ("Nodes") with the two limitations being that the Nodes are single-visit only and that the next Node hopped to must be within X distance of the current Node.</p>

<p>After having "finished" the bot (learning exercise) I decided that it would make sense to remove the pathfinding algorithm from the bot and package it up as a more generic and understandable snippet to host on GitHub for others to use.</p>

<p>I'm having an oddly difficult time finding information on how to best construct my "library" - probably because it's really obvious if I were more familiar with C++. I don't want it to be like OpenCV where it's a DLL and my only other example is a .hpp JSON library + the information in the Google Style Guide.</p>

<p>I'm not certain as to whether distributing my code as a Header (with overview + usage documentation) and CPP (with more specific comments) file will result in what I want - which is the JSON .hpp workflow - I simply had to download the file, #include JSON.hpp, and then I was able to call its methods. </p>

<hr>

<p>&lt;-&lt; PS. How does one name such an algorithm? I'm using a namespace as per the Google recommendations but at the moment that would result in a REALLY long name for devs that aren't #using my namespace. </p>

<p>Google's Styleguide is for a large project - not a single distributed file - so perhaps I should name the GitHub / "official name" something descriptive but give the namespace / project "SVNL" ?</p>

<p>Single Visit Node Linker</p>

<p>Single Visit Node Pathing for Maximum Nodes Traveled Within Distance Between Individual Nodes</p>

<p>Visit Maximizing Node Linker Within Distance Between Individual Nodes</p>
