Bitcoin Forum

Other => Off-topic => Topic started by: Atlas on October 13, 2012, 04:05:48 PM



Title: We're going to create a comprehensive Bitcoind source code documentation. Here.
Post by: Atlas on October 13, 2012, 04:05:48 PM
First file is bitcoin / src / main.cpp (http://"https://github.com/bitcoin/bitcoin/blob/master/src/main.cpp"). Feel free to correct me and guide me during this process. I know pretty much shit about coding. Yes, this might be completely inane but I am going to take that risk.

Let's start with these #includes:

#include "alert.h"
#include "checkpoints.h"
#include "db.h"
#include "net.h"
#include "init.h"
#include "ui_interface.h"
#include <boost/algorithm/string/replace.hpp>
#include <boost/filesystem.hpp>
#include <boost/filesystem/fstream.hpp>

What do each of these files do and refer to? What is the function of #include?



Title: Re: We're going to create a comprehensive Bitcoind source code documentation. Here.
Post by: theymos on October 13, 2012, 04:24:52 PM
Just learn C++. I recommend the book C++ Primer. Translating all of the code into English would take a very long time and wouldn't be very useful, since the C++ code would always be more accurate and clear than the English translation for people who know C++.


Title: Re: We're going to create a comprehensive Bitcoind source code documentation. Here.
Post by: Atlas on October 13, 2012, 04:26:17 PM
Just learn C++. I recommend the book C++ Primer. Translating all of the code into English would take a very long time and wouldn't be very useful, since the C++ code would always be more accurate and clear than the English translation for people who know C++.

Will do.