?? rect.h
字號:
/*************************************************************************** * Copyright (C) 2003 by ita * * tnagy@eleve.emn.fr * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * ***************************************************************************/#include <iostream>struct Rectangle{ int longueur; int largeur; int posx; int posy; bool orientation; int position; int numero; Rectangle(); Rectangle(int lo,int la,int xpos,int ypos,bool orient, int num, int pos); ~Rectangle(); int getYHaut(); int getXMax(); int getLongueur(); int getLargeur(); int getSurface(); int recouvre(Rectangle * rect);};struct lieu{ int posx; int posy; lieu(); lieu(int i,int j); };struct hash{ int idx; int val; public: hash(); hash(int u, int v);};bool operator< (Rectangle x, Rectangle y);bool operator< (hash x, hash y);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -