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 件のコメント:

コメントを投稿

QRcodeを生成する(APIは使わない)

  FileMakerでQRcodeを生成してみます。 テーブルは1個 フィールドはこれだけ。 「えっ!QRcodeを生成するテーブルとデータテーブルを分けないの?」 はい、分けません。 だって、生成側の源泉になるのがグローバルフィールドですし、リレーションやポータルのオーバーヘ...