////////////////////////////////////////////////////////////////////
仢 佱---= 嬈柋梡彫宆僟乕僣儅僔儞乽僟乕僣僀乕僌儖乿

偙傫側偵彫偝偔偰傕棫攈側嬈柋儅僔儞両
僟乕僣儅僔儞愝抲偱偪傚偭偲偟偨偍彫尛偄壱偓丅

偱偒傞偩偗徣僗儁乕僗偱丄埨壙偵抲偗傞僟乕僣儅僔儞偑伀偙偙伀偵偁傝傑偡丅
亀戝嶃僊僼僩僔儑乕怴惢昳僐儞僥僗僩戝徿庴徿両亁
http://af1.mag2.com/m/af/0000008658/001/s00000001980002/006
////////////////////////////////////////////////////////////////////
/*

    KAB-studio.h


    (C)KAB-studio 1999 - 2006 ALL RIGHTS RESERVED.
        http://www.kab-studio.biz/
        info@mail.kab-studio.biz

    憲怣擔丗 2006/05/22(Mon) No.358
    攝怣悢丗 1760
    敪峴尦丗 傑偖傑偖 ( URL: http://www.mag2.com/  ID: 0000012198 )
*/
////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////
// NEW!!
http://www.kab-studio.biz/index.html

2006/05/22 (Mon)
丂傎偲偼乕奜揱俁偵P.62傪捛壛両
[ 嶰恖崌懱儂僢僩僴乕僽 奜揱俁 亂儚僞僔 偺 僉儘僋亃 ]
http://www.kab-studio.biz/Comic/HotHerbA3/index.html

2006/05/22 (Mon)
丂#pragma twice 儂乕儉儁乕僕斉偵傾乕僇僀僽捛壛両
15.19 DLL 傪僨僶僢僌両
15.20 乽僾儘僕僃僋僩偺愝掕乿僟僀傾儘僌
[ #pragma twice ]
http://www.kab-studio.biz/Programing/PragmaTwice/index.html


////////////////////////////////////////////////////////////////////
// 偪傚偍晛捠側擔婰
http://www.kab-studio.biz/nikki2/index.html

2006/05/14 (Sun)
丂曣偺擔偱搶嫗崙棫嬤戙旤弍娰偺摗揷巏帯揥偲昞嶲摴僸儖僘傊丅

2006/05/15 (Mon)
丂島巘愭俙幮偱偺島媊丄嵟廔擔丅嵟屻偺嵟屻偵乧乧丅偙偺侾儢寧敿丄
妝偟偐偭偨偱偡両丂惗搆偺幙偵傕彆偗傜傟偨偐傕丅傗偭傁揤怑偩側偀丅

2006/05/16 (Tue)
丂姰慡媥梴擔丅

2006/05/17 (Wed)
丂僋儕乕僯儞僌丄價僨僆偺僟價儞僌丄愻戵偲偐丅僇僽僇僥僉儑挋傑傞丅
儁儞僨傿儞僌堦棗丅

2006/05/18 (Thu)
丂僇僽僇僥僉儑廔傢傜側偄丅晽夒丄晳偄偑俇枛傑偱偺僗僩僢僋姰惉丅
嬻暊姶偑寖偟偄丅偦偟偰崅偡偓丅

2006/05/19 (Fri)
丂憗婲偒僗働僕儏乕儖丅島巘愭俛幮偲島巘愭俠幮丅俈寧偺梊掕丅屵慜拞偼
偖偩乕丅偍拫偼傉傜偲傢俈榖丅挷巕偺忋壓偑寖偟偄丅

2006/05/20 (Sat)
丂僇僽僇僥僉儑廔椆丅偦偺棟桼偵偮偄偰丅侾擔僇僽僇僥僉儑偲丄偦偺廔椆
娭學偺儂乕儉儁乕僕廋惓丅


////////////////////////////////////////////////////////////////////
// 偐傇傠偖丅
http://d.hatena.ne.jp/kab_studio/

2006/05/14 (Sun)
http://d.hatena.ne.jp/kab_studio/20060514
婲偒偨丅
[KAB-studio]傉傜偲傢捛壛丅
[傾僯儊]偍偹偑偄儅僀儊儘僨傿乣偔傞偔傞僔儍僢僼儖両乣 
  戞7榖乽僋儘儈偺擔偵側偭偨傜僀僀僫両乿
[傾僯儊]乽夊乿 戞7榖乽栚妎傔偨巚偄乿
[傾僯儊]傂偖傜偟偺側偔崰偵 戞6榖乽柸棳偟曇丂懘僲擉丂僞僇僲乿
[傾僯儊]惣偺慞偒杺彈 戞6榖乽媨掛墌晳嬋乿
婣偭偰偒偨丅
[KAB-studio][傎偲偼乕]傎偲偼乕奜揱俁偼偍媥傒

2006/05/15 (Mon)
http://d.hatena.ne.jp/kab_studio/20060515
婲偒偨丅
婣偭偰偒偨丅
[傾僯儊]ARIA The NATURAL 戞7榖乽偦偺丂擫偨偪偺墹崙傊乧乿
[傾僯儊]Fate/stay night 戞19榖乽墿嬥偺墹乿
[傾僯儊]偆偨傢傟傞傕偺 戞6榖乽廤偆椡乿

2006/05/16 (Tue)
http://d.hatena.ne.jp/kab_studio/20060516
婲偒偨傛丅
拫怮丅
[Prog][link]Linux偺偍曌嫮丅
[link]VAIO type U VGN-UX50
[傾僯儊]椓媨僴儖僸偺桱烼 戞7榖乽儈僗僥儕僢僋僒僀儞乿
[傾僯儊]擔梛怺栭暘捛壛丅

2006/05/17 (Wed)
http://d.hatena.ne.jp/kab_studio/20060517
婲偒偨傛乕丅
[傾僯儊]搚梛怺栭暘捛壛丅
[傾僯儊]嶗棖崅峑儂僗僩晹 戞7榖乽僕儍儞僌儖僾乕儖SOS乿
[傾僯儊]僽儔僢僋儔僌乕儞 戞6榖乽Moonlit Hunting Grounds乿

2006/05/18 (Thu)
http://d.hatena.ne.jp/kab_studio/20060518
婲偒丅
乽Ajax僀儞丒傾僋僔儑儞梸偟偄両乿偲嫨傇丅
[傾僯儊]僛乕僈儁僀儞 戞7榖乽柪偊傞嵃乿

2006/05/19 (Fri)
http://d.hatena.ne.jp/kab_studio/20060519
婲偒偨乕丅
[偒傜傜]傑傫偑僞僀儉偒傜傜MAX 2006擭7寧崋
[傾僯儊]婡恄欞欋僨儌儞儀僀儞 戞1榖乽I AM PROVIDENCE乿(怴)
[傾僯儊]僓丒僒乕僪 乣憮偄摰偺彮彈乣 戞5榖乽憮偄揤拡娽乿

2006/05/20 (Sat)
http://d.hatena.ne.jp/kab_studio/20060520
婲偒偨丅
[傾僯儊]嵤塤崙暔岅 戞7榖乽傛偔塲偖幰偼揗傟傞乿
[傾僯儊]傆偟偓惎偺仚傆偨偛昉 Gyu! 戞8榖乽彫偝側僜儘偺仚偱偭偐偄寛堄乿
[傾僯儊]僂傿僢僠僽儗僀僪 戞7榖乽夁乿
[僇僽僇僥僉儑]僇僽僇僥僉儑廔椆偺偍偟傜偣


////////////////////////////////////////////////////////////////////
// Ajax偱僄儘僎乕傪嶌傞僽儘僌
http://d.hatena.ne.jp/AjaxEroge/

乮崱廡偼偍媥傒偱偡乯


////////////////////////////////////////////////////////////////////
// 晽夒丄晳偄
http://www.kab-studio.biz/Novel/Fuga/index.html

仭丂戞廫巐復丂崿棎偺変壠丂亅侾亅

乽塕乧乧偩傛偹乿
丂晳偼丄栚偺慜偺僇僾僙儖偵晅偗傜傟偨柤嶥傪尒偰丄栚傪媈偭偨丅
丂偦偙偵偼乽栘懞弐梇乿偲彂偐傟偰偄偨丅
乽栘懞乧乧孨丠乿
乽崱偼傑偩婲偙偣側偄偐傜丄傕偆俀帪娫傎偳懸偭偰乿
丂暦偄偨偙偲偺側偄惡傪暦偄偰丄晳偼怳傝岦偔丅帇慄偺愭偵偼丄儕僔儏僱傪
憐憸偝偣傞嬥怓偺敮偺彮彈偑偄偨丅
乽扤丄偁側偨乿
丂僼傿僆偼旣娫偵岚傪婑偣傞丅晳偺惡壒偼丄嶦堄傪娷傫偱偄偨丅
乽巹偼僼傿僆丒傾僢僣僃丅椪帪偺尋媶堳偱偡丅弐梇偼俙俹壔傊偺嫮偄婓朷傪
帩偭偰偄偨偺偱丄偦偺張抲傪巤偡偙偲偵側傝傑偟偨乿
乽側丄壗彑庤側偙偲傪乿
乽暥嬪偼弐梇杮恖偵尵偭偰偔偩偝偄丄俀帪娫懸偰偽妎惲偱偒傑偡偐傜丅偦傟
偵乿
丂僼傿僆偼僇僾僙儖偵嬤晅偒丄僗僀僢僠傪擖傟傞丅
乽暿偵偙傟偼弨旛抜奒偱偡偐傜丄俙俹壔傪僉儍儞僙儖偡傞偙偲傕壜擻偱偡乿
丂僇僾僙儖偺僇僶乕偑奐偔丅拞偵偼丄妋偐偵弐梇偑丄慡棁偱晜偄偰偄偨丅
乽両両乿
丂巚傢偢晳偼婄傪攚偗傞丅
乽乧乧偦偆偄偆嵨偱傕側偄偱偟傚丅偦傟偲傕尒姷傟偰側偄偺丠乿
丂尒姷傟偰偄側偄丅
丂偩偭偰丄偮偄擇廡娫慜偵夒庽偺傪尒偨偔傜偄偩偟乧乧丅
丂偦偆丄擇廡娫慜丅
丂偁偺擔偺挬丄夒庽偺巔偼徚偊丄帺暘傕壗偲偐棟桼傪晅偗偰扤傕偄側偄暽偒
愹偵摝偘偰丄婥帩偪偺惍棟偑晅偄偨嶐擔丄偙偺僼傽僀儞僟僂僩幮偵栠偭偰偒
偨偽偐傝偩偭偨丅
丂弐梇偺巔偑側偐偭偨偐傜偰偭偒傝掹傔偨偺偩偲巚偭偰偄偨丅
丂側偺偵丅
乽偄側偄娫偵側傫偩偐戝曄側偙偲偵側偭偰偨偺偹乧乧乿
乽偦乕偹丄偁側偨偼帺暘偺棫応傪傕偭偲帺妎偡傋偒偩傢丄寢敀晳乿
丂偦偺戝偒側僶儗僢僞傪晅偗偨彮彈傪丄墸傝偮偗偨偄婥暘偩偭偨丅
                                                              (懕偔)

////////////////////////////////////////////////////////////////////
// JavaA2Z
http://www.kab-studio.biz/Programing/JavaA2Z/index.html

仭捛壛丒峏怴扨岅

乮崱廡偺捛壛偼偁傝傑偣傫乯


////////////////////////////////////////////////////////////////////
仢 佱---= 嬈柋梡彫宆僟乕僣儅僔儞乽僟乕僣僀乕僌儖乿

偙傫側偵彫偝偔偰傕棫攈側嬈柋儅僔儞両
僟乕僣儅僔儞愝抲偱偪傚偭偲偟偨偍彫尛偄壱偓丅

偱偒傞偩偗徣僗儁乕僗偱丄埨壙偵抲偗傞僟乕僣儅僔儞偑伀偙偙伀偵偁傝傑偡丅
亀戝嶃僊僼僩僔儑乕怴惢昳僐儞僥僗僩戝徿庴徿両亁
http://af1.mag2.com/m/af/0000008658/001/s00000001980002/006
////////////////////////////////////////////////////////////////////
// #pragma twice
http://www.kab-studio.biz/Programing/PragmaTwice/index.html

丂Version 17.03
protected 儊儞僶

乽慜夞丄僋儔僗傪宲彸偡傞偲丄攈惗僋儔僗偺拞偵婎杮僋儔僗偑擖傞宍偵側傞
偭偰愢柧偟傑偟偨乿
亀偙傫側姶偠側傫偩傛偹亁

劇劅劅劅劅劅劅劅劅劅劅劅劉
劆   CDerivedData       劆
劆 劇劅劅劅劅劅劅劅劅劉 劆
劆 劆CData           劆 劆
劆 劆                劆 劆
劆 劆m_iData         劆 劆
劆 劆Output()        劆 劆
劆 劋劅劅劅劅劅劅劅劅劊 劆
劆   m_iData2           劆
劆   Output2()          劆
劋劅劅劅劅劅劅劅劅劅劅劅劊

亀儊儞僶娭悢偲偐庴偗宲偖傫偩偗偳丄偱傕撈棫偟偰傞偭偰偙偲側傫偩偹亁
乽偦偆偄偆偙偲丅偦偺徹嫆偵丄慜夞偺椺偱偼丄婎杮僋儔僗偺儊儞僶曄悢傪 
private 偵偡傞偲丄攈惗僋儔僗偺儊儞僶娭悢偐傜傾僋僙僗偱偒傑偣傫偱偟
偨乿
亀偦偆偦偆丅偙偺恾傒偨偄偵丄婎杮僋儔僗偲攈惗僋儔僗偺娫偵暻偑偁傞姶
偠亁
乽偱丄崱夞愢柧偡傞偺偼 private 偲 public 偺娫丄 protected 偭偰偄偆
傕偺乿
亀傉傠偰偔偰偭偳丠亁
乽擔杮岅偵偡傞偲乹曐岇偝傟偰偄傞乺偭偰偄偆堄枴偵側傞偗偳丄偁傑傝曐岇
偝傟偰傞偭偰峫偊側偄曽偑偄偄偐側乧乧娙扨偵尵偆偲丄 protected 儊儞僶
偼埲壓偺傛偆側斖埻偐傜傾僋僙僗偱偒傑偡乿


仭 protected 偺傾僋僙僗斖埻
仜埲壓偺売強偐傜傾僋僙僗偱偒傑偡丅
丒帺僋儔僗偺儊儞僶娭悢
丒攈惗僋儔僗偺儊儞僶娭悢

仜埲壓偺売強偐傜偼傾僋僙僗偱偒傑偣傫丅
丒攈惗僋儔僗埲奜偺懠僋儔僗偺儊儞僶娭悢
丒捠忢偺娭悢


亀 protected 偼丄private 偵乹攈惗僋儔僗偐傜側傜OK乺偑壛傢偭偨丄偭偰
偙偲側偺偐側亁
乽偦偆偄偆偙偲丅幚嵺偵 protected 傪巊偭偰傒傛偆偐乿


// Data.h

// CData 僋儔僗丅
class CData
{
protected:
    // 僨乕僞奿擺梡儊儞僶曄悢丅
    int m_iData;
};

// CData 僋儔僗偺攈惗僋儔僗丅
class CDerivedData : public CData
{
public:
    // 婎杮僋儔僗偺 m_iData 偵抣傪僙僢僩偟傑偡丅
    void SetData( int p_i );
};


// Data.cpp
#include <Windows.h>
#include <stdio.h>

#include "Data.h"

// 婎杮僋儔僗偺 m_iData 偵抣傪僙僢僩偟傑偡丅
void CDerivedData::SetData( int p_i )
{
    // 攈惗僋儔僗側偺偱傾僋僙僗偱偒傑偡丅
    m_iData = p_i;
}


// Main.cpp
#include <Windows.h>
#include <stdio.h>

#include "Data.h"

int WINAPI WinMain
    ( HINSTANCE p_hInstance
    , HINSTANCE p_hPrevInstance
    , LPSTR p_pchCmdLine
    , int p_iCmdShow
    )
{
    // CDerivedData 僋儔僗傪巊梡偟傑偡丅
    CDerivedData cDerivedData;
    // 晛捠偺娭悢側偺偱傾僋僙僗偱偒傑偣傫丅
    cDerivedData.m_iData = 100;
    // 僐儞僷僀儖僄儔乕丗
    // error C2248: 'm_iData' : protected 儊儞僶 
    // (僋儔僗 'CData' 偱愰尵偝傟偰偄傞乯偵傾僋僙僗偱偒傑偣傫丅

    return 0;
}

乽慜夞偲摨偠偔丄 CData 僋儔僗偲偦偺僋儔僗偐傜宲彸偟偨 
CDerivedData 僋儔僗偱偡乿

劇劅劅劅劅劅劅劅劅劉
劆CData           劆
劌劅劅劅劅劅劅劅劅劎
劆m_iData         劆
劌劅劅劅劅劅劅劅劅劎
劆                劆
劋劅劅劅劅劅劅劅劅劊
         仮
         劆
劇劅劅劅劅劅劅劅劅劉
劆CDerivedData    劆
劌劅劅劅劅劅劅劅劅劎
劆                劆
劌劅劅劅劅劅劅劅劅劎
劆SetData()       劆
劋劅劅劅劅劅劅劅劅劊

乽傑偢丄埲壓偺傛偆偵偟偰 m_iData 儊儞僶曄悢傪 protected 偵偟偰偄傑
偡乿

class CData
{
protected:
    // 僨乕僞奿擺梡儊儞僶曄悢丅
    int m_iData;
};

亀偙傟偱 m_iData 偑 protected 偵側傞傫偩偹亁
乽 protected 偼攈惗僋儔僗偺儊儞僶娭悢偐傜偼傾僋僙僗偱偒傞偐傜丄 
CDerivedData 僋儔僗偺 SetData() 儊儞僶娭悢偐傜偼傾僋僙僗偱偒傑偡乿

// 婎杮僋儔僗偺 m_iData 偵抣傪僙僢僩偟傑偡丅
void CDerivedData::SetData( int p_i )
{
    // 攈惗僋儔僗側偺偱傾僋僙僗偱偒傑偡丅
    m_iData = p_i;
}

乽偱傕丄晛捠偺娭悢傗丄攈惗僋儔僗埲奜偺懠僋儔僗偺儊儞僶娭悢偐傜偼
傾僋僙僗偱偒傑偣傫乿

int WINAPI WinMain
    ( HINSTANCE p_hInstance
    , HINSTANCE p_hPrevInstance
    , LPSTR p_pchCmdLine
    , int p_iCmdShow
    )
{
    // CDerivedData 僋儔僗傪巊梡偟傑偡丅
    CDerivedData cDerivedData;
    // 晛捠偺娭悢側偺偱傾僋僙僗偱偒傑偣傫丅
    cDerivedData.m_iData = 100;
    // 僐儞僷僀儖僄儔乕丗
    // error C2248: 'm_iData' : protected 儊儞僶 
    // (僋儔僗 'CData' 偱愰尵偝傟偰偄傞乯偵傾僋僙僗偱偒傑偣傫丅

    return 0;
}

亀偆傢抏偐傟偲傞亁
乽偮傑傝乿

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆   CDerivedData             劆
劆 劇劅劅劅劅劅劅劅劅劉       劆
劆 劆CData           劆       劆
劆 劆                劆       劆
劆 劆m_iData 仜仼仼仼劆仼仼   劆
劆 劋劅劅劅劅劅劅劅劅劊   仾  劆
劆   SetData() 仺仺仺仺仺仺   劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

乽偼偄偄傫偩偗偳丄乿

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆   CDerivedData             劆
劆 劇劅劅劅劅劅劅劅劅劉       劆
劆 劆CData           劆       劆
劆 劆                劆       劆
劆 劆m_iData 亊仼仼仼劆仼仼仼 劆仼仼 WinMain()
劆 劋劅劅劅劅劅劅劅劅劊       劆
劆   SetData()                劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

乽偼僟儊丄偭偰偙偲乿

/*
    Preview Next Story!
*/
亀偪傖傫偲暿傟偰傞偺偼暘偐偭偨偐側乕丅偗偳亁
乽偗偳丠乿
亀巊偄暘偗偑傢偐傜傫両亁
乽偦傟偼師夞乿
亀偍乕亁
乽偲偄偆傢偗偱師夞乿
亙 Version 17.04 傾僋僙僗廋忺巕偺傑偲傔 亜
亀偵偮偯偔両亁
乽傑丄惓捈摉暘偼 protected 側傫偰巊傢側偔偰偄偄偗偳偹乿
亀偦傟尵偭偰偄偄偺乧乧丠亁


////////////////////////////////////////////////////////////////////
/*                          偛拲堄両両                            */

丒偙偺儊乕儖傪曉怣偟側偄偱偔偩偝偄丅
丒偛堄尒丒偛婓朷丒偛姶憐偼[僠儑乕晛捠側擔婰]傛傝偍憲傝偔偩偝偄丅
http://www.kab-studio.biz/nikki2/index.html
丒峸撉搊榐傪夝彍偟偨偄偲偒偵偼偙偺儁乕僕偱峴側偭偰偔偩偝偄丅
http://www.mag2.com/m/0000012198.htm
丒夝彍偼帺暘偱峴側偭偰偔偩偝偄丅
丒僶僢僋僫儞僶乕偼偙傟傜偺儁乕僕偵偁傝傑偡丅
http://backno.mag2.com/reader/Back?id=0000012198
http://www.kab-studio.biz/Freeware/index.html#MailMagazine


////////////////////////////////////////////////////////////////////
/*
    KAB-studio.h
      Weekly Mail Magazine.
      Written by Kaburaya Seiden.
      http://www.kab-studio.biz/Info/MailMagazine/

    (C)KAB-studio 1999 - 2006 ALL RIGHTS RESERVED.
        http://www.kab-studio.biz/
        info@mail.kab-studio.biz
*/
////////////////////////////////////////////////////////////////////

