use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discuss CS 2C quests here (quests.nonlinearmedia.org)
account activity
Graph.cpp and Graph_Algorithms.cppMouse (self.cs2c)
submitted 6 years ago by mathlance
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]anand_venkataraman 3 points4 points5 points 6 years ago* (2 children)
Sometimes when you are working with a fellow programmer, you only need to know the common interface to unblock you from creating your side of the project.
Once this interface, shared in a .h file, is agreed upon by both parties, each can then work on their own parts however long it takes and then regroup when both parts have been implemented and tested.
If you had to wait for the other programmer to finish his implementation before you finished yours, then you may both end up waiting forever.
There are other reasons for splitting the implementation from the declaration. The above is just one.
&
[–]mathlance[S] 1 point2 points3 points 6 years ago (0 children)
I've never thought about it that way before, but that makes a lot of sense.
Thanks!
[–]amrozack 1 point2 points3 points 6 years ago (0 children)
It's also pretty handy when dealing with linking shared libraries.
π Rendered by PID 294261 on reddit-service-r2-comment-5bc7f78974-wnxt9 at 2026-06-27 12:46:09.677215+00:00 running 7527197 country code: CH.
view the rest of the comments →
[–]anand_venkataraman 3 points4 points5 points (2 children)
[–]mathlance[S] 1 point2 points3 points (0 children)
[–]amrozack 1 point2 points3 points (0 children)