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 |
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
50 | |
0 | |
455 | |
346 | |
227 | |
546 | |
478 | |
187 | |
456 | |
321 |
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
/* | |
yukicoder No.15 | |
作成者:ヒロソフ | |
*/ | |
#include <stdio.h> | |
unsigned int NumberOfCatalogItems; //カタログの商品数 | |
unsigned int NumberOfBoughtPrice; //購入した価格の数 | |
unsigned int *pPriceForItems; //商品の価格 |
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
void CHSMathComplex::PowerReal(double RealExp) { | |
if (this->Imag == 0) { | |
this->Real = pow(this->Real, RealExp); | |
} else { | |
double R = 0; | |
double Theta = 0; | |
if (this->Real == 0) { | |
int minusFlag = 0; | |
if (this->Imag < 0) { |
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
#ifndef __HSMATHLIB__ | |
#define __HSMATHLIB__ | |
#include <Windows.h> | |
#ifdef HSMATHLIB_EXPORTS | |
#ifdef HSMATHDLL_EXPORTS | |
#define HSMATHLIB_EXPORT extern "C" __declspec (dllexport) | |
#define HSMATHLIB_VAREXPORT extern | |
#else | |
#define HSMATHLIB_EXPORT |
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
どれくらいかというと 立方体を表示するだけである本の70ページ分に該当する・・・・ |
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 "CHSSimpleLogger.h" | |
CHSSimpleLogger::CHSSimpleLogger() { | |
this->hFile = NULL; | |
} | |
CHSSimpleLogger::~CHSSimpleLogger() { | |
this->Close(); |
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
[2014/08/06][22:37:12][CMyClass クラス] CMyClass 初期化完了 | |
[2014/08/06][22:37:12] 1 / 10のループ | |
[2014/08/06][22:37:12] 2 / 10のループ | |
[2014/08/06][22:37:12] 3 / 10のループ | |
[2014/08/06][22:37:12] 4 / 10のループ | |
[2014/08/06][22:37:12] 5 / 10のループ | |
[2014/08/06][22:37:12] 6 / 10のループ | |
[2014/08/06][22:37:12] 7 / 10のループ | |
[2014/08/06][22:37:12] 8 / 10のループ | |
[2014/08/06][22:37:12] 9 / 10のループ |