首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C/C++/VC++ > hamming-numbers

hamming-numbers

  • 资源大小:6.28 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

This metaprogram uses the C++ Template Metaprogramming technique to calculate a sequence of Hamming numbers (aka Regular Numbers, aka Ugly Numbers). Notes: * Vary the number of iterations in the main() function to obtain more numbers * use the -ftemplate-depth option in g++ to allow higher recursion level (e.g. -ftemplate-depth-900) JUST ADDED: My SHA1 example (educational) version of Linus Torvald"s git SHA1 implementation, also using the TMP technique. Check the downloads. Donations This code is maintained at FuDePAN, an NGO/NPO for bioinformatics research. If you find it useful either to understand C++ or to teach, please consider to donate so we can keep up the research and maintenance. [![](https://www.paypal.com/enUS/i/btn/btndonateCCLG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=donations&business=BKPL5FYMLGXFQ&lc=AR&am

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.177610s