?? rtest.cpp
字號(hào):
/**********************************************************************************
* *
* Copyright (c) by Royal. All rights reserved. *
* *
* Permission to use, copy, modify, and distribute this software for any purpose *
* is hereby granted without fee, provided that this copyright and permissions *
* notice appear in all copies and derivatives, and that no charge may be made *
* for the software and its documentation except to cover cost of distribution. *
* *
* This software is provided "as is" without express or implied warranty. *
* *
**********************************************************************************/
/*
* Description:
*
* A example of class Rand.
*
* History:
*
* Initial version created by Royal, July, 2004.
*
* Notes:
*
* This code has been written to conform to standard C++ and STL. It has been
* compiled successfully using GNU C++ 3.2 (MinGW), Borland C++ 5.5, and Visual C++ 7.0.
*
*/
#include "rand.h"
#include <iostream>
using namespace std;
int main()
{
Rand r1;
Rand r2(30);
Rand r3(20, 10);
cout << r1 << "\t" << r2 << "\t" << r3 << endl;
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -