This file contains 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 <Windows.h> | |
#include <tchar.h> | |
#include <xaudio2.h> | |
#include "HSWaveClass/CHSWAVEReader.hpp" //自前Waveファイル読み込みクラス | |
#pragma comment(lib,"Xaudio2.lib") | |
//プロトタイプ宣言 |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Drawing; | |
using System.Drawing.Drawing2D; | |
using System.Data; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Windows.Forms; |
This file contains 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
/*---------------------------------------------------------------------------- | |
プログラム名:D3DBasic | |
プログラム概要:Direct3D 11の基本プログラムです | |
-------------------------------------------------------------------------------- | |
*/ | |
//インクルード | |
#include <windows.h> | |
#include <stdio.h> | |
#include <locale.h> |
This file contains 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
/*---------------------------------------------------------------------------- | |
プログラム名: | |
バージョン: | |
プログラム概要: | |
開発言語:Microsoft Visual C++ 2012 | |
統合開発環境:Microsoft Visual Studio 2012 Ultimate Edition (DreamSpark Premium) | |
開発開始日: | |
最終更新日: | |
------------------------------------------------------------------------------- | |
更新日一覧 |
This file contains 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
/*---------------------------------------------------------------------------- | |
プログラム名:D3DDraw | |
プログラム概要:Direct3D 11の描画プログラムです | |
-------------------------------------------------------------------------------- | |
*/ | |
//インクルード | |
#include <windows.h> | |
#include <stdio.h> | |
#include <locale.h> |
This file contains 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 sl; //ログクラス | |
//実験用名前空間と関数 | |
namespace MyNamespace { | |
void Go(void) { | |
int LoopNum = 21; | |
for (int i = 0; i < LoopNum; i++) { | |
sl.WriteForFuncInNamespace(TEXT("MyNamespace"), TEXT("Go"), TEXT("2^%d = %d"), i, 1 << i); | |
} |
This file contains 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のループ |
This file contains 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 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 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 |
OlderNewer