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 __LEXICAL_ANALYZER_H__ | |
| #define __LEXICAL_ANALYZER_H__ | |
| // ヘッダのインクルード | |
| // 既定のヘッダ | |
| #include <tchar.h> // TCHAR型 | |
| #include <string> // std::string | |
| #include <vector> // std::vector | |
| #include <windows.h> // 標準WindowsAPI |
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> // C++標準入出力 | |
| // 独自のヘッダ | |
| #include "LexicalAnalyzer.h" // CLexicalAnalyzer | |
| #include "TextFile.h" // CTextFile | |
| // 解析を実行するメンバ関数Analyze. | |
| BOOL CLexicalAnalyzer::Analyze(tstring tstrSourceFileName) { |
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> // C++標準入出力 | |
| // 独自のヘッダ | |
| #include "LexicalAnalyzer.h" // CLexicalAnalyzer | |
| #include "TextFile.h" // CTextFile | |
| // 解析を実行するメンバ関数Analyze. | |
| BOOL CLexicalAnalyzer::Analyze(tstring tstrSourceFileName) { |
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 "GameApplication.h" // CGameApplication | |
| // コンストラクタCGameApplication | |
| CGameApplication::CGameApplication() : CGraphicalApplication() { | |
| // 初期化. | |
| m_x = 0; | |
| m_y = 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
| // ヘッダのインクルード | |
| // 独自のヘッダ | |
| #include "GameApplication.h" // CGameApplication | |
| // コンストラクタCGameApplication | |
| CGameApplication::CGameApplication() : CGraphicalApplication() { | |
| // 初期化. | |
| m_x = 0; | |
| m_y = 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
| // ヘッダのインクルード | |
| // 独自のヘッダ | |
| #include "GameApplication.h" // CGameApplication | |
| // コンストラクタCGameApplication | |
| CGameApplication::CGameApplication() : CGraphicalApplication() { | |
| // 初期化. | |
| m_x = 0; | |
| m_y = 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
| // ヘッダのインクルード | |
| // 独自のヘッダ | |
| #include "GameApplication.h" // CGameApplication | |
| // コンストラクタCGameApplication | |
| CGameApplication::CGameApplication() : CGraphicalApplication() { | |
| } | |
| // メインループ処理関数MainProc. |
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 "GameApplication.h" // CGameApplication | |
| // コンストラクタCGameApplication | |
| CGameApplication::CGameApplication() : CGraphicalApplication() { | |
| } | |
| // メインループ処理関数MainProc. |
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 "GraphicalApplication.h" // CGraphicalApplication | |
| // コンストラクタCGraphicalApplication | |
| CGraphicalApplication::CGraphicalApplication() : CApplication() { | |
| } | |
| // メッセージループ処理関数Run. |
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 "GraphicalApplication.h" // CGraphicalApplication | |
| // コンストラクタCGraphicalApplication | |
| CGraphicalApplication::CGraphicalApplication() : CApplication() { | |
| } | |
| // メッセージループ処理関数Run. |
NewerOlder