第6、7講読解プログラム結果検査5


問題およびコード:
/*
* Copyright (c) 2014,               
* All rights reserved.
*     :      4.cpp
*       :   
*     :2014  10   22  
*      :v1.0
*
*     :           
*     :   
*     : ,     
*/
#include <iostream>

#include <windows.h>

using namespace std ;

int main()
{
    int  a;
    cout<<"    2 "<<endl;
    for (a=1;a<=10;a++)
    {
        Sleep(200);
        cout<<" ";
    }
    cout << endl ;
    return 0  ;
}

実行結果:
知識ポイントのまとめ:
面白いsleep()を学びました;文、使う前に前処理命令でファイルに含まなければなりません