U E D R , A S I H C RSS

neocoin/Code Scrap

์ƒ๋ฏผ ์ด๊ฐ€ ํ”„๋กœ๊ทธ๋ž˜๋ฐ์ค‘ ์‚ฌ์šฉํ•˜๋Š” ์ด๋””์—„, ์‹ ๊ธฐํ•œ ํ˜„์ƒ๋“ค์„ ๋ชจ์•„๋†“๋Š” ํŽ˜์ด์ง€

ostream iterator์˜ ์‹ ๋น„ ;;
~cpp 
ostream_iterator<int> out(cout , " ");
copy(vector1.begin(), vector1.end(), out); cout << endl;

ํ—ค๋”ํŒŒ์ผ, VC++, MFC ์ƒ ์„ธํŒ…์—์„œ
~cpp 
class Board{
pubilc:
static const int INIT_START;
    void init(int aOption){		
        
        if ( aOption == INIT_START )... 
        // ๋‚ด๋ถ€์—์„œ ์‚ฌ์šฉํ•˜๋ฉด error
        // console ๋ชจ๋“œ์—์„œ๋Š” ๊ดœ์ฐฎ๋‹ค.
    }
};
const int Board::INIT_START = 0;

win32 ์ƒ์˜ ์„ค์ • ํŒŒ์ผ api
~cpp 
case AMA:
    if ( m_nTime < (int)::GetPrivateProfileInt("FindBomb", "AMA_Time", 999, ".\FindBomb.ini")){
        return TRUE;
    }


~cpp 
%windir%\system32\gpedit.msc 

neocoin
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:31:43
Processing time 0.0057 sec