为什么比特币源中没有main()
Why is there no main() in bitcoin source?
我正在研究比特币源代码,但我似乎找不到
int main(){
}
.part。
我能找到的唯一主要()似乎是qt/bitcoin中的QT测试.cpp
关于程序将如何"启动",我是否忽略了什么?
我在这里找到了int main(...)
:https://github.com/bitcoin/bitcoin/blob/0.9.3/src/bitcoind.cpp#L173-L188
相关文章:
- 为什么随机数生成器不在void函数中随机化数字,而在main函数中随机化
- 当我在main中声明了我的2d数组时,为什么我的程序会退出
- 为什么类和 main() 函数中也有动态内存分配
- 为什么 'main' 函数中的局部 int 变量会自动初始化?
- 为什么在我的 main 函数中声明整数后我的整数数组中会出现错误?
- 为什么要从main()返回NULL?
- 为什么 c++ 中的 main() 函数不采用除 int 和 void 之外的任何其他返回类型
- 为什么在函数中 'int main()' -> 's' 可以在此函数中使用单位化?
- 为什么 class 的函数没有在 main 中被调用?
- 为什么'class'和'main'中的相等表达式表现不同?
- 为什么在main()之前断言会导致语法错误"error: expected ')' before numeric constant"?
- 为什么Main函数上的Sleep()会停止所有线程
- 为什么我在执行main之前就出现分段错误(核心转储)
- 内存浪费?如果main()应该只返回0或1,那么为什么main是用int而不是短int甚至char声明的
- 为什么在 main() 中声明的指针没有更改
- 为什么VC++/MFC没有main函数?
- 为什么我会"undefined reference to main"
- 为什么我的程序在输入main()之前停止工作
- 为什么当从递归函数返回字符串到C 中的Main时,我会得到分割错误
- 在第 16,54,55,56,57,58 行中,我收到错误"Statement missing ; in function main()"为什么?