This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1アルゴリズム当たりのテスト回数を指定してください:268435456 | |
| <<[C言語標準rand関数]による乱数精度チェック>> | |
| 100% 完了 ( 268435456 / 268435456) | |
| 出現分布表 | |
| 0 ・・・ 16777216回 [ 6.2500%] | |
| 1 ・・・ 16777216回 [ 6.2500%] | |
| 2 ・・・ 16777216回 [ 6.2500%] | |
| 3 ・・・ 16777216回 [ 6.2500%] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1アルゴリズム当たりのテスト回数を指定してください:262144 | |
| <<[C言語標準rand関数]による乱数精度チェック>> | |
| 100% 完了 ( 262144 / 262144) | |
| 出現分布表 | |
| 0 ・・・ 16455回 [ 6.2771%] | |
| 1 ・・・ 16710回 [ 6.3744%] | |
| 2 ・・・ 16449回 [ 6.2748%] | |
| 3 ・・・ 16242回 [ 6.1958%] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1アルゴリズム当たりのテスト回数を指定してください:8192 | |
| <<[C言語標準rand関数]による乱数精度チェック>> | |
| 100% 完了 ( 8192 / 8192) | |
| 出現分布表 | |
| 0 ・・・ 522回 [ 6.3721%] | |
| 1 ・・・ 493回 [ 6.0181%] | |
| 2 ・・・ 535回 [ 6.5308%] | |
| 3 ・・・ 482回 [ 5.8838%] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1アルゴリズム当たりのテスト回数を指定してください:268435456 | |
| <<[C言語標準rand関数]による乱数精度チェック>> | |
| 100% 完了 ( 268435456 / 268435456) | |
| 出現分布表 | |
| 0 ・・・ 16777216回 [ 6.2500%] | |
| 1 ・・・ 16777216回 [ 6.2500%] | |
| 2 ・・・ 16777216回 [ 6.2500%] | |
| 3 ・・・ 16777216回 [ 6.2500%] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <time.h> | |
| #include "HSRand/CHSRand.h" | |
| #include "HSRand/HSRandSupport.h" | |
| #define PROB_LENGTH 3 | |
| bool IsNumberChar(char c); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "HSFigure.h" | |
| HSBoldLinePoints HSCalcLinePointForConnectTwoCircle(HSCircle c1, HSCircle c2, double LineThickPercent) { | |
| //戻り値を収納する共用体 | |
| HSBoldLinePoints hsbp; | |
| //上側の円と下側の円のポインタ | |
| HSCircle *pUpper, *pBelow; | |
| //左側の円と右側の円のポインタ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*---------------------------------------------------------------------------- | |
| プログラム名:HSConsoleRedirect | |
| バージョン:0.0.3.0 | |
| プログラム概要: | |
| 開発言語:Microsoft Visual C++ 2013 | |
| 統合開発環境:Microsoft Visual Studio 2013 Ultimate Edition | |
| 開発開始日: | |
| 最終更新日: | |
| ------------------------------------------------------------------------------- | |
| 更新日一覧 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "ControlFunc.h" | |
| /* | |
| コントロール作成 | |
| */ | |
| HWND HSCreateStaticText(HWND hwnd, TCHAR *lpszCaption, int px, int py, int sx, int sy, HSStaticTextAlign TextAlign){ | |
| int TextAlignStyle; | |
| switch (TextAlign) { | |
| case HSStaticTextAlign_Left: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <iomanip> | |
| #include <cstdio> | |
| #include <sstream> | |
| #include <cmath> | |
| #include <locale> | |
| #include "../CHSStack.hpp" /*自作テンプレート・可変長スタッククラス*/ | |
| #include "../CHSLinearList.hpp" /*自作テンプレート・線形リストクラス*/ | |
| #include "../CHSSimpleLogger/CHSSimpleLogger.h" /*自作ログ出力クラス*/ | |
| using namespace std; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <<1024バイト以内の数式を入力してください。>> | |
| [補足説明:';'→[Enter]入力で数式入力終了、quitでプログラム終了] | |
| 3^2(6+2) - 2^4(0.5*6+3); | |
| <<数式解析(逆ポーランド記法への変換)の詳細のダンプ>> | |
| 入力(1文字目):3 | |
| 入力(2文字目):^ | |
| 出力バッファに実数の3を追加 | |
| スタックに演算子の ^ をプッシュ | |
| 入力(3文字目):2 |