2014年5月24日土曜日

コード 表示テスト


てすと





/*

#include <iostream.h>
#include <fstream.h>
 
int main(){
    char *taro_name = "Taro";
    bool taro_sex = 0;
    int taro_age = 18;
    double taro_height = 172.8;
    char *hanako_name = "Hanako";
    bool hanako_sex = 1;
    int hanako_age = 21;
    double hanako_height = 158.7;

    cout << "name " << taro_name <<endl;
    cout << "sex " << taro_sex <<endl;
    cout << "age " << taro_age <<endl;
    cout << "height " << taro_height <<endl;
    cout << "name " << hanako_name <<endl;
    cout << "sex " << hanako_sex <<endl;
    cout << "age " << hanako_age <<endl;
    cout << "height " << hanako_height <<endl;  
return 0;
}

*/

/*

#include <windows.h>

BOOL CALLBACK DialogProc(HWND, UINT, WPARAM, LPARAM);

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
          PSTR lpCmdLine, int nCmdShow )
{
    DialogBox(hInstance, TEXT("DIALOG_BOX"), NULL, DialogProc);
    return 0;
}

BOOL CALLBACK DialogProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
    switch (msg)
    {
        case WM_CLOSE:
            EndDialog(hWnd, IDOK);
            return TRUE;
    }
    return FALSE;
}



*/

0 件のコメント:

コメントを投稿

JT00000001を「JTスぺ-ス1とかで検索したい!」という人のために

「JTスぺ-ス1とかで検索したい!」 とかいう人のために。 -------------------------------------------------------------- 計算フィールの結果(テキスト) J JT JT0 JT00 JT000 JT0000 JT00...