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
// 3.5h | |
#include <iostream> | |
#include <memory.h> | |
namespace Puyo | |
{ | |
struct Check2D | |
{ | |
int x; | |
int y; |
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 <iostream> | |
#include <memory> | |
#include <string> | |
#include <iomanip> | |
class Foo { | |
private: | |
int a_; | |
int b_; | |
int c_; |
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 <iostream> | |
// フツーこんなのなしだけどstringを継承したデバッグ用のクラス | |
class mystring : public std::string { | |
public: | |
// コンストラクタ | |
mystring() : std::string() | |
{ | |
std::cout << "mystring constructor" | |
<< " mystring() called!" << std::endl; |
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
// MFCGoogleMapAppDlg.cpp : 実装ファイル | |
// | |
#include "stdafx.h" | |
#include "MFCGoogleMapApp.h" | |
#include "MFCGoogleMapAppDlg.h" | |
#include "afxdialogex.h" | |
#ifdef _DEBUG |
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
// MFCGoogleMapAppDlg.h : ヘッダー ファイル | |
// | |
#pragma once | |
// CMFCGoogleMapAppDlg ダイアログ | |
class CMFCGoogleMapAppDlg : public CDHtmlDialog | |
{ |
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
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=shift_jis" /> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
<script type="text/javascript" | |
src="http://maps.google.com/maps/api/js?sensor=false"></script> | |
<title></title> | |
<script type="text/javascript"> | |
var map; |
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 <iostream> | |
#include <map> | |
#include <string> | |
namespace { | |
enum RECORD_TYPE_en | |
{ | |
CAR, BIKE, PERSON | |
}; | |
const int NUM_OF_RECORD_TYPE_en = 3; |
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 <iostream> | |
class Button { | |
public: | |
virtual void paint() = 0; | |
virtual ~Button() { } | |
}; | |
class WinButton : public Button { | |
public: |
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 <iostream> | |
#include <string> | |
#include <list> | |
#include <map> | |
#include <sstream> | |
using namespace std; | |
struct BWH { | |
string birthOfDate; |
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 <iostream> | |
class Computer | |
{ | |
public: | |
virtual ~Computer() {} | |
virtual void run() = 0; | |
virtual void stop() = 0; | |
}; |