ebook50-11

Size: px
Start display at page:

Download "ebook50-11"

Transcription

1

2 11 Wi n d o w s C A D 53 M F C M F C MFC M F C C D C Wi n d o w s Wi n d o w s 4

3 ) W M _ PA I N T p W n d C W n d C D C * p D C = p W n d GetDC( ); 2) p W n d ReleaseDC (pdc); AfxGetMainWnd( ) GetDC( ) ::GetDC (NULL) CDC P e n ) 2. 1) C P e n CPen pen( P S _ S O L I D, // solid line also // PS_DASH,PS_DOT, P S _ D A S H D O T, // PS_DASHDOTDOT, PS_INSIDEFRAME and // PS_NULL 2, // width in pixels R G B ( 1 2 8, 1 2 8, ) ) ; // color 2) Cpen *ppen=pdc->selectobject(&pen) //save old pen 3. 1) C B r u s h CBr u s h ( R G B ( 128, 128, 128 ) / / c l o l o r 2) CBrush *pbrush=pdc->selectobject(&brush) //save old brush C P e n C B r u s h 4 MFC 4. C D C 1) p D C - > M o v e To ( 5, 5 ) ; p D C - > L i n e To ( 2 5, 2 5 ) ;

4 200 2) p D C - > R e c t a n g l e ( CRe c t ( 5, 5 5, 5 0, 8 5 ) ) ; 3) p D C - > A r c ( C R e c t ( 5, 11 5, 5 0, ), C P o i n t ( 5, 115), C P o i n t ( 5 0, 115)); // area encompassing the arc // starting point of the arc // end point 4) p D C - > R o u n d R e c t ( C R e c t ( 5, 1 8 5, 5 0, ), CPoint(15,15)); // distance from corner to draw arc 5) p D C - > E l l i p s e ( C R e c t ( 2 5 0, 5, 3 0 5, 2 5 ) ) ; 6) p D C - > P i e ( C R e c t ( 250, 55, 305, 85 ), // area encompassing chart C P o i n t ( 2 5 0, 5 5 ), C P o i n t ( 3 0 5, 5 5 ) ) ; // starting point // end point 7) p D C - > D r a w E d g e ( C R e c t ( 2 5 0, 11 5, 3 0 5, ), E D G E _ B U M P, BF_RECT); // also EDGE_ETCHED,EDGE_RAISED,EDGE_SUNKEN // also BF_LEFT, B F _ B O T TO M, B F _ R I G H T, B F _ TO P 8) POINT pt[8]; p t [ 0 ]. x = ; p t [ 0 ]. y = 5 ; p t [ 1 ]. x = ; p t [ 1 ]. y = 1 0 ; p t [ 2 ]. x = ; p t [ 2 ]. y = 1 2 ; p t [ 3 ]. x = ; p t [ 3 ]. y = 1 5 ; p t [ 4 ]. x = ; p t [ 4 ]. y = 2 5 ; pdc->polyline(pt, 5); 9) p t [ 0 ]. x = ; p t [ 0 ]. y = 5 5 ; p t [ 1 ]. x = ; p t [ 1 ]. y = 5 5 ; p t [ 2 ]. x = ; p t [ 2 ]. y = 6 5 ; p t [ 3 ]. x = ; p t [ 3 ]. y = 8 5 ;

5 p t [ 4 ]. x = 520 ; p t [ 4 ]. y = 70 ; p t [ 5 ]. x = 495 ; p t [ 5 ]. y = 85 ; p t [ 6 ]. x = 510 ; p t [ 6 ]. y = 65 ; p t [ 7 ]. x = 495 ; p t [ 7 ]. y = 55 ; pdc->polygon(pt, 8); C D C : L i n e To( ) 4 4 M F C CD C D M F C Windows API ( 11-2 ) 11-2 C D C C D C :: TextOut( ) C D C :: D r a w Text( ) CDC *pdc=pwnd->getdc(); 1. TextOut( ) // where pwnd is a pointer to an // MFC window class 1)

6 202 CString str( This is drawn text ) ; p D C - > Te x t O u t ( x, y, s t r, s t r.getlength()); // device location (ex: screen pixels) // text as either a string pointer or // a CString variable // text length x y x y C D C :: S e t TextAlign( ) x y 2) x y TextOut( ) p D C - > S e t Te x t A l i g n ( TA_CENTER); //(also TA _ R I G H T ) y p D C - > S e t Te x t A l i g n ( TA _ B O T TOM); //(also TA _ B A S E L I N E ) 3) ( M F C ) p D C - > S e l e c t S t o c k O b j e c t ( A N S I _ VA R _ F O N T ) ; 4) CFont font; f o n t. C r e a t e F o n t ( -22, // point size 0, 0, 0, FW_NORMAL, 0, // if 1=italic // weight, also FW_BOLD 0, // if 1=underline 0, // if 1=strike through 0, 0, 0, 0, 0, C o u r i e r ); // typeface CFont *pfont = (CFont *)pdc->selectobject(&font); CreatePointFont( ) CreateFont( ) 5) p w n d - > S e t F o n t ( p F o n t ) ; //the font 6) p D C - > S e t Te x t C o l o r ( R G B ( 1 0 0, 1 0 0, ) ) ; 7) p D C - > S e t B k C o l o r ( R G B ( 2 0 0, 2 0 0, ) ) 8) p D C - > S e t B k M o d e ( O PA Q U E ) ; 9) p D C - > S e t B k M o d e ( T R A N S PA R E N T ) ;

7 C D C : : TextOut( ) C D C : : D r a w Text( ) D r a w Text( ) 2. D r a w Text( ) D r a w Text( ) p D C - > D r a w Te x t ( s t r, rect, D T _ C E N T E R ) ; // a CString value // a bounding rectangle // an alignment style-text will be centered E x t TextOut( ) Ta b b e d TextOut( ) DrawState( ) CD C D LoadIcon( ) Window API LoadImage( ) Windows API ExtractIcon( ) 1. HICON hicon; h i c o n = A f x G e t A p p ( ) - > L o a d I c o n ( I D R _ M A I N F R A M E ) ; 2.. i c o. i c o W z d. i c hicon = (HICON)LoadImage( NULL, // handle of the instance that contains

8 204 W z d. i c o, I M A G E _ I C O N, // the image // name or identifier of image // type of image- // can also be IMAGE_CURSOR or IMAGE_ICON 0, 0, // desired width and height L R _ L O A D F R O M F I L E ) ; // load flags 3. D L L. e x e W z d. e x e H I N S TANCE hinst=afxgetinstancehandle(); h i c o n = E x t r a c t I c o n ( h i n s t, D e b u g \ \ w z d. e x e, 1 ) ; D L L a - 1 ExtractIcon( ) h I c o n 4. 0, 0 p D C - > D r a w I c o n ( 0, 0, h i c o n ) ; 5. LoadImage( ) ExtractIcon( ) D e s t r o y I c o n ( h i c o n ) ; LoadIcon( ) CD C D C B i t m a p Windows API LoadImage( ). b m p 1. Developer Studio

9 Developer Studio Insert/Insert Resource I m p o r t I D 2. I D I D B _ W Z D CBitmap bitmap; b i t m a p. L o a d B i t m a p ( I D B _ W Z D ) ; 3.. b m p LoadImage( ) CBitmap bitmap; HBITMAP hbitmap = (HBITMAP)::LoadImage( N U L L, W z d 2. b m p, I M A G E _ B I T M A P, // handle of the instance that contains // the image // name or identifier of image // type of image- // can also be IMAGE_CURSOR or IMAGE_ICON 0, 0, // desired width and height L R _ L O A D F R O M F I L E ) ; // load from file // attach this bitmap object to our bitmap class b i t m a p. A t t a c h ( h b i t m a p ) ; 4. BitBlt( ) CDC dccomp; d c C o m p. C r e a t e C o m p a t i b l e D C ( p D C ) ; d c C o m p. S e l e c t O b j e c t ( & b i t m a p ) ; // get size of bitmap for BitBlt() BITMAP bminfo; b i t m a p. G e t O b j e c t ( s i z e o f ( b m I n f o ), & b m I n f o ) ; // use BitBlt() to draw bitmap p D C - > B i t B l t ( 0, 0, b m I n f o. b m Wi d t h, b m I n f o. b m H e i g h t, &dccomp, 0,0,SRCCOPY); LoadImage( ) L R _ L O A D F R O M - F I L E L R _ L O A D T R A N S PA R E N T LoadImage( ) ( ) LoadImage( ) Windows NT L R _ L O A D F R O M F I L E LoadImage( ) C F i l e 12

10 206 BitBlt( ) 4 CD C D b m p Wi n d o w s A P I CreateDIBitmap( ) CreateDIBitmap( ) C B i t m a p 1. C l a s s Wi z a r d C B i t m a p LoadBitmapEx( ) 2. 1) LoadBitmapEx( ) LoadBitmapEx( CDC dcscreen; d c S c r e e n. A t t a c h ( : : G e t D C ( N U L L ) ) ; 2) HRSRC hrsrc = FindResource(AfxGetResourceHandle(), M A K E I N T R E S O U R C E ( n I D ), RT _ B I T M A P ) ; HGLOBAL hglb = LoadResource(AfxGetResourceHandle(), hrsrc); LPBITMAPINFOHEADER lpbitmap = ( L P B I T M A P I N F O H E A D E R ) L o c k R e s o u r c e ( h g l b ) ; l p B i t m a p RT _ B I T M A P CreateDIBitmap( ) 3) CreateDIBitmap( ) // get pointers into bitmap structures // (header, color table and picture bits) LPBITMAPINFO pbitmapinfo = (LPBITMAPINFO)lpBitmap; LPBITMAPINFOHEADER pbitmapinfoheader = ( L P B I T M A P I N F O H E A D E R ) l p B i t m a p ; // determine number of colors in bitmap s palette now because // bitmap pixel is right after it

11 int nnumberofcolors=0; if (lpbitmap->biclrused) nnumberofcolors = lpbitmap->biclrused; else if (pbitmapinfoheader->bibitcount <= 8) nnumberofcolors = (1<<pBitmapInfoHeader->biBitCount); // else there IS no color table LPBYTE pbitmappicturedata = (LPBYTE)lpBitmap+lpBitmap->biSize+ ( n N u m b e r O f C o l o r s * s i z e o f ( R G B Q U A D ) ) ; 24 RGB 4) m _ Width = lpbitmap->biwi d t h ; m_height = lpbitmap->biheight; CreateDIBitmap( ) CreateDIBitmap( ) 5) C P a l e t t e // create a logical palette from the color table in this bitmap if (nnumofcolors) L O G PALETTE *plogpal = (LOGPALETTE *) new BYTE[ s i z e o f ( L O G PALETTE) + (nnumberofcolors * s i z e o f ( PA L E T T E E N T RY ) ) ] ; p L o g P a l - > p a l Version = 0x300; plogpal->palnumentries = nnumberofcolors; for (int i = 0; i < nnumberofcolors; i++) // if flag set, replace grey color with window s // background color if (btransparent && pbitmapinfo->bmicolors[i].rgbred==192 && pbitmapinfo->bmicolors[i].rgbgreen==192 && p B i t m a p I n f o - > b m i C o l o r s [ i ]. r g b B l u e = = 192 ) p B i t m a p I n f o - > b m i C o l o r s [ i ]. r g b R e d = G e t RVa l u e (:: G e t S y s C o l o r ( C O L O R _ B T N FA C E )); p B i t m a p I n f o - > b m i C o l o r s [ i ]. r g b G r e e n = G e t G Va l u e (:: G e t S y s C o l o r ( C O L O R _ B T N FA C E )); p B i t m a p I n f o - > b m i C o l o r s [ i ]. r g b B l u e = G e t B Va l u e (:: G e t S y s C o l o r ( C O L O R _ B T N FA C E )); plogpal->palpalentry[i].pered = p B i t m a p I n f o - > b m i C o l o r s [ i ]. r g b R e d ; plogpal->palpalentry[i].pegreen =

12 208 p B i t m a p I n f o - > b m i C o l o r s [ i ]. r g b G r e e n ; plogpal->palpalentry[i].peblue = p B i t m a p I n f o - > b m i C o l o r s [ i ]. r g b B l u e ; plogpal->palpalentry[i].peflags = 0; m_ppalette=new CPalette; m _ p P a l e t t e - > C r e a t e P a l e t t e ( p L o g P a l ) ; delete []plogpal; d c S c r e e n. S e l e c t P a l e t t e ( m _ p P a l e t t e, T R U E ) ; d c S c r e e n. R e a l i z e P a l e t t e ( ) ; 6) 3 ::CreateDIBitmap( ) HBITMAP bitmap = ::CreateDIBitmap(dcScreen.m_hDC, p B i t m a p I n f o H e a d e r, C B M _ I N I T, pbitmappicturedata, pbitmapinfo, DIB_RGB_COLORS); 7) A t t a c h ( b i t m a p ) ; 8) 3. BitBlt( ) StretchBlt( ) // load bitmap with our new function m _ b i t m a p. L o a d B i t m a p E x ( I D B _ W Z D, T R U E ) ; // select our palette into the device context CPalette *poldpal = p D C - > S e l e c t P a l e t t e ( m _ b i t m a p. G e t P a l e t t e ( ), FA L S E ) ; p D C - > R e a l i z e P a l e t t e ( ) ; // get device context to select bitmap into CDC dccomp; d c C o m p. C r e a t e C o m p a t i b l e D C ( p D C ) ; d c C o m p. S e l e c t O b j e c t ( & m _ b i t m a p ) ; // draw bitmap p D C - > B i t B l t ( 0, 0, m _ b i t m a p. m _ Width,m_bitmap.m_Height, &dccomp, 0, 0, S R C C O P Y ) ; // reselect old palette p D C - > S e l e c t P a l e t t e ( p O l d P a l, FA L S E ) ;

13 ::CreateDIBitmap( ) 4 CD 12 C F i l e C S h a r e M e m ::CreateDIBitmap( ) C D #ifndef WZDBITMAP_H #define WZDBITMAP_H class CWzdBitmap : public CBitmap p u b l i c : D E C L A R E _ D Y N A M I C ( C W z d B i t m a p ) // Constructors C W z d B i t m a p ( ) ; void LoadBitmapEx(UINT nid, BOOL biconbkgrd); CPalette *GetPalette()return m_ppalette;; // Implementation p u b l i c : virtual ~CWzdBitmap(); // Attributes int m_wi d t h ; int m_height; // Operations p r i v a t e : CPalette *m_ppalette; ; # e n d i f // WzdBitmap.cpp : implementation of the CWzdBitmap class / / #include "stdafx.h" #include "WzdBitmap.h"

14 210 / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / // CWzdBitmap IMPLEMENT_DYNAMIC(CWzdBitmap, CBitmap) C W z d B i t m a p :: C W z d B i t m a p () m _ p P a l e t t e = N U L L ; C W z d B i t m a p :: ~ C W z d B i t m a p () if (m_ppalette) delete m_ppalette; void CWzdBitmap::LoadBitmapEx(UINT nid, BOOL btr a n s p a r e n t ) // can only load once A S S E RT (! m _ p P a l e t t e ); CDC dcscreen; d c S c r e e n. A t t a c h ( : : G e t D C ( N U L L ) ) ; // find and lock bitmap resource HRSRC hrsrc = FindResource(AfxGetResourceHandle(), M A K E I N T R E S O U R C E ( n I D ), RT _ B I T M A P ); HGLOBAL hglb = LoadResource(AfxGetResourceHandle(), hrsrc); LPBITMAPINFOHEADER lpbitmap = (LPBITMAPINFOHEADER)LockResource(hglb); // get pointers into bitmap structures (header, color table and picture bits) LPBITMAPINFO pbitmapinfo = (LPBITMAPINFO)lpBitmap; LPBITMAPINFOHEADER pbitmapinfoheader = (LPBITMAPINFOHEADER)lpBitmap; int nnumberofcolors=0; if (lpbitmap->biclrused) nnumberofcolors = lpbitmap->biclrused; else if (pbitmapinfoheader->bibitcount <= 8) nnumberofcolors = (1<<pBitmapInfoHeader->biBitCount); LPBYTE pbitmappicturedata = (LPBYTE)lpBitmap+lpBitmap->biSize+ ( n N u m b e r O f C o l o r s * s i z e o f ( R G B Q U A D )); // get width and height m _ Width = lpbitmap->biwi d t h ; m_height = lpbitmap->biheight; // create a logical palette from the color table in this bitmap if (nnumberofcolors)

15 L O G PALETTE *plogpal = (LOGPALETTE *) new BYTE[sizeof(LOGPALETTE) + (nnumberofcolors * sizeof(pa L E T T E E N T RY ) ) ] ; p L o g P a l - > p a l Version = 0x300; plogpal->palnumentries = nnumberofcolors; for (int i = 0; i < nnumberofcolors; i++) // if flag set, replace grey color with window s background color if (btransparent && pbitmapinfo->bmicolors[i].rgbred==192 && pbitmapinfo->bmicolors[i].rgbgreen==192 && p B i t m a p I n f o - > b m i C o l o r s [ i ]. r g b B l u e = = ) p B i t m a p I n f o - > b m i C o l o r s [ i ]. r g b R e d = G e t RVa l u e ( : : G e t S y s C o l o r ( C O L O R _ B T N FA C E ) ) ; p B i t m a p I n f o - > b m i C o l o r s [ i ]. r g b G r e e n = G e t G Va l u e ( : : G e t S y s C o l o r ( C O L O R _ B T N FA C E ) ) ; p B i t m a p I n f o - > b m i C o l o r s [ i ]. r g b B l u e = G e t B Va l u e ( : : G e t S y s C o l o r ( C O L O R _ B T N FA C E ) ) ; plogpal->palpalentry[i].pered = pbitmapinfo->bmicolors[i].rgbred; plogpal->palpalentry[i].pegreen = p B i t m a p I n f o - > b m i C o l o r s [ i ]. r g b G r e e n ; plogpal->palpalentry[i].peblue = pbitmapinfo->bmicolors[i].rgbblue; plogpal->palpalentry[i].peflags = 0; m_ppalette=new CPalette; m _ p P a l e t t e - > C r e a t e P a l e t t e ( p L o g P a l ); delete []plogpal; d c S c r e e n. S e l e c t P a l e t t e ( m _ p P a l e t t e, T R U E ); d c S c r e e n. R e a l i z e P a l e t t e (); // create device dependant bitmap HBITMAP bitmap = ::CreateDIBitmap(dcScreen.m_hDC, pbitmapinfoheader, C B M _ I N I T, pbitmappicturedata, pbitmapinfo, DIB_RGB_COLORS); // attach this new bitmap object to our CBitmap class A t t a c h ( b i t m a p ) ; // release dc ::ReleaseDC(NULL, dcscreen.detach()); M F C

16 212 Wi n d o w s C B i t m a p 1. 1) C l a s s Wi z a r d C B i t m a p 2) CreateBitmapEx( ) 2. 1) CreateBitmapEx( ) C D C CDC dcscreen; d c S c r e e n. A t t a c h ( : : G e t D C ( N U L L ) ) ; 2) CDC dcmem; d c M e m. C r e a t e C o m p a t i b l e D C ( & d c S c r e e n ) ; 3) CreateCompatibleBitmap(&dcScreen, size.cx, size.cy); d c M e m. S e l e c t O b j e c t ( t h i s ) ; 4) CBrush bluebrush,greenbrush; b l u e b r u s h. C r e a t e S o l i d B r u s h ( R G B ( 0, 0, ) ) ; g r e e n b r u s h. C r e a t e S o l i d B r u s h ( R G B ( 0, 2 5 5, 0 ) ) ; dcmem.fillrect(crect(0,0,size.cx,size.cy), &bluebrush); d c M e m. S e l e c t O b j e c t ( & g r e e n b r u s h ) ; dcmem.ellipse(0,0, size.cx, size.cy); HICON hicon=afxgetapp()->loadicon(idr_mainframe); d c M e m. D r a w I c o n ( ( s i z e. c x ) / 2, ( s i z e. c y ) / 2, h i c o n ) ; 5) d c M e m. D e l e t e D C ( ) ; ::ReleaseDC(NULL, dcscreen.detach()); 4

17 CD C D M F C #ifndef WZDBITMAP_H #define WZDBITMAP_H class CWzdBitmap : public CBitmap p u b l i c : D E C L A R E _ D Y N A M I C ( C W z d B i t m a p ) // Constructors C W z d B i t m a p ( ) ; void CreateBitmapEx(CSize size); // Implementation p u b l i c : virtual ~CWzdBitmap(); // Attributes int m_wi d t h ; int m_height; // Operations ; # e n d i f // WzdBitmap.cpp : implementation of the CWzdBitmap class / / #include s t d a f x. h #include W z d B i t m a p. h #include r e s o u r c e. h / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / // CWzdBitmap IMPLEMENT_DYNAMIC(CWzdBitmap, CBitmap) C W z d B i t m a p :: C W z d B i t m a p () m _ Wi d t h = 0 ; m _ H e i g h t = 0 ;

18 214 C W z d B i t m a p : : ~ C W z d B i t m a p ( ) void CWzdBitmap::CreateBitmapEx(CSize size) CDC dcmem; CDC dcscreen; d c S c r e e n. A t t a c h (:: G e t D C ( N U L L )); // create our bitmap in memory d c M e m. C r e a t e C o m p a t i b l e D C (& d c S c r e e n ); CreateCompatibleBitmap(&dcScreen, size.cx, size.cy); d c M e m. S e l e c t O b j e c t ( t h i s ); // do our drawing CBrush bluebrush,greenbrush; b l u e b r u s h. C r e a t e S o l i d B r u s h ( R G B ( 0, 0, 255 )); g r e e n b r u s h. C r e a t e S o l i d B r u s h ( R G B ( 0, 255, 0 )); dcmem.fillrect(crect(0,0,size.cx,size.cy), &bluebrush); d c M e m. S e l e c t O b j e c t (& g r e e n b r u s h ); dcmem.ellipse(0,0, size.cx, size.cy); HICON hicon=afxgetapp()->loadicon(idr_mainframe); d c M e m. D r a w I c o n (( s i z e. c x - 32 )/ 2,( s i z e. c y - 32 )/ 2, h i c o n ); // delete and release device contexts d c M e m. D e l e t e D C ( ) ; ::ReleaseDC(NULL, dcscreen.detach()); m _ Wi d t h = s i z e. c x ; m _ H e i g h t = s i z e. c y ;

INTRODUCTION TO COM.DOC

INTRODUCTION TO COM.DOC How About COM & ActiveX Control With Visual C++ 6.0 Author: Curtis CHOU mahler@ms16.hinet.net This document can be freely release and distribute without modify. ACTIVEX CONTROLS... 3 ACTIVEX... 3 MFC ACTIVEX

More information

epub83-1

epub83-1 C++Builder 1 C + + B u i l d e r C + + B u i l d e r C + + B u i l d e r C + + B u i l d e r 1.1 1.1.1 1-1 1. 1-1 1 2. 1-1 2 A c c e s s P a r a d o x Visual FoxPro 3. / C / S 2 C + + B u i l d e r / C

More information

ebook111-4

ebook111-4 Flash 4 Flash 4 F l a s h 5 Flash 4 Flash Flash 4 Flash 4 Flash 4 4.1 Flash 4 Flash 4 Flash 4 Flash Flash 4 Flash 4 4.2 Flash 4 Flash 4 A Flash 4 S h i f t F i l e P r e f e r e n c e s > > Flash 4 Flash

More information

Microsoft Word - template.doc

Microsoft Word - template.doc HGC efax Service User Guide I. Getting Started Page 1 II. Fax Forward Page 2 4 III. Web Viewing Page 5 7 IV. General Management Page 8 12 V. Help Desk Page 13 VI. Logout Page 13 Page 0 I. Getting Started

More information

ebook70-19

ebook70-19 1 9 S t a r O ff i c e Star Division S t a r O ff i c e h t t p / / w w w. s t a r d i v i s i o n. c o m S t a r O ff i c e O p e n L i n u x O p e n L i n u x StarOffice S t a r O ff i c e S t a r O

More information

ebook140-9

ebook140-9 9 VPN VPN Novell BorderManager Windows NT PPTP V P N L A V P N V N P I n t e r n e t V P N 9.1 V P N Windows 98 Windows PPTP VPN Novell BorderManager T M I P s e c Wi n d o w s I n t e r n e t I S P I

More information

coverage2.ppt

coverage2.ppt Satellite Tool Kit STK/Coverage STK 82 0715 010-68745117 1 Coverage Definition Figure of Merit 2 STK Basic Grid Assets Interval Description 3 Grid Global Latitude Bounds Longitude Lines Custom Regions

More information

Chapter 9: Objects and Classes

Chapter 9: Objects and Classes Fortran Algol Pascal Modula-2 BCPL C Simula SmallTalk C++ Ada Java C# C Fortran 5.1 message A B 5.2 1 class Vehicle subclass Car object mycar public class Vehicle extends Object{ public int WheelNum

More information

,, 1 ( ) 1 / CurrentSeries Int ConnectionString CString Style3D BOOL IsContinue Graph BOOL LegendType Int SeriesName CString SeriesColor OL E

,, 1 ( ) 1 / CurrentSeries Int ConnectionString CString Style3D BOOL IsContinue Graph BOOL LegendType Int SeriesName CString SeriesColor OL E 2007 9 12 5 JOURNAL OF XI AN UN IV ERSITY OF POST AND TEL ECOMMUN ICA TIONS Sep12007 Vol112 No15 TeeChart (, 710121) : ActiveX TeeChart, Visual C + +,,,, :ActiveX ;;Visual C + + : TP311. 1 :A :1007-3264

More information

文档 3

文档 3 1 2 3 4 5 6 / A B A B B A 7 8 9 10 11 12 OO A B A B 13 14 15 16 17 18 19 20 21 22 OOA OOA 23 24 25 OOA OOA 26 27 28 29 30 31 32 use case 33 use case 34 35 36 37 OOD OOA OOD 38 OOA 39 OOD 40 41 / 42 OOD

More information

ebook66-15

ebook66-15 1 5 Wi n d o w s 3 17 18 15.1 Vi r t u a l A l l o c p v A d d r e s s M U L L Vi r t u a l A l l o c M E M _ TO P _ D O W N 50 MB 52 428 800 5 0 1 024 1 024 p v A d d r e s s Vi r t u a l A l l o c N

More information

<4D6963726F736F667420506F776572506F696E74202D20332D322E432B2BC3E6CFF2B6D4CFF3B3CCD0F2C9E8BCC6A1AAD6D8D4D8A1A2BCCCB3D0A1A2B6E0CCACBACDBEDBBACF2E707074>

<4D6963726F736F667420506F776572506F696E74202D20332D322E432B2BC3E6CFF2B6D4CFF3B3CCD0F2C9E8BCC6A1AAD6D8D4D8A1A2BCCCB3D0A1A2B6E0CCACBACDBEDBBACF2E707074> 程 序 设 计 实 习 INFO130048 3-2.C++ 面 向 对 象 程 序 设 计 重 载 继 承 多 态 和 聚 合 复 旦 大 学 计 算 机 科 学 与 工 程 系 彭 鑫 pengxin@fudan.edu.cn 内 容 摘 要 方 法 重 载 类 的 继 承 对 象 引 用 和 拷 贝 构 造 函 数 虚 函 数 和 多 态 性 类 的 聚 集 复 旦 大 学 计 算 机 科 学

More information

ebook

ebook 3 3 3.1 3.1.1 ( ) 90 3 1966 B e r n s t e i n P ( i ) R ( i ) W ( i P ( i P ( j ) 1) R( i) W( j)=φ 2) W( i) R( j)=φ 3) W( i) W( j)=φ 3.1.2 ( p r o c e s s ) 91 Wi n d o w s Process Control Bl o c k P C

More information

FY.DOC

FY.DOC 高 职 高 专 21 世 纪 规 划 教 材 C++ 程 序 设 计 邓 振 杰 主 编 贾 振 华 孟 庆 敏 副 主 编 人 民 邮 电 出 版 社 内 容 提 要 本 书 系 统 地 介 绍 C++ 语 言 的 基 本 概 念 基 本 语 法 和 编 程 方 法, 深 入 浅 出 地 讲 述 C++ 语 言 面 向 对 象 的 重 要 特 征 : 类 和 对 象 抽 象 封 装 继 承 等 主

More information

ebook129-11

ebook129-11 11 TThread Wi n 32 16 Wi n d o w s Wi n 3 32 D e l p h i 11.1 3 Win32 API Wi n 32 C P U C P U 16 Windows 32 Delphi Delphi 1 11.1.1 16 Wi n 32 Windows 3.1 1 2 C P U 1 Windows 3.1 Wi n d o w s 16 Wi n d

More information

基于ECO的UML模型驱动的数据库应用开发1.doc

基于ECO的UML模型驱动的数据库应用开发1.doc ECO UML () Object RDBMS Mapping.Net Framework Java C# RAD DataSetOleDbConnection DataGrod RAD Client/Server RAD RAD DataReader["Spell"].ToString() AObj.XXX bug sql UML OR Mapping RAD Lazy load round trip

More information

ebook70-7

ebook70-7 7 X X 3 XFree86 Project Inc. X 11 50 / u s r / X 11 R 6 X 11 X 11 X s h e l l X 11 7.1 X O p e n L i n u x Welcome to your OpenLinux system! You can start X11 with 'startx' or KDE with 'kde'. s t a r t

More information

概述

概述 OPC Version 1.6 build 0910 KOSRDK Knight OPC Server Rapid Development Toolkits Knight Workgroup, eehoo Technology 2002-9 OPC 1...4 2 API...5 2.1...5 2.2...5 2.2.1 KOS_Init...5 2.2.2 KOS_InitB...5 2.2.3

More information

提问袁小兵:

提问袁小兵: C++ 面 试 试 题 汇 总 柯 贤 富 管 理 软 件 需 求 分 析 篇 1. STL 类 模 板 标 准 库 中 容 器 和 算 法 这 部 分 一 般 称 为 标 准 模 板 库 2. 为 什 么 定 义 虚 的 析 构 函 数? 避 免 内 存 问 题, 当 你 可 能 通 过 基 类 指 针 删 除 派 生 类 对 象 时 必 须 保 证 基 类 析 构 函 数 为 虚 函 数 3.

More information

int *p int a 0x00C7 0x00C7 0x00C int I[2], *pi = &I[0]; pi++; char C[2], *pc = &C[0]; pc++; float F[2], *pf = &F[0]; pf++;

int *p int a 0x00C7 0x00C7 0x00C int I[2], *pi = &I[0]; pi++; char C[2], *pc = &C[0]; pc++; float F[2], *pf = &F[0]; pf++; Memory & Pointer trio@seu.edu.cn 2.1 2.1.1 1 int *p int a 0x00C7 0x00C7 0x00C7 2.1.2 2 int I[2], *pi = &I[0]; pi++; char C[2], *pc = &C[0]; pc++; float F[2], *pf = &F[0]; pf++; 2.1.3 1. 2. 3. 3 int A,

More information

WinMDI 28

WinMDI 28 WinMDI WinMDI 2 Region Gate Marker Quadrant Excel FACScan IBM-PC MO WinMDI WinMDI IBM-PC Dr. Joseph Trotter the Scripps Research Institute WinMDI HP PC WinMDI WinMDI PC MS WORD, PowerPoint, Excel, LOTUS

More information

p.2 1 <HTML> 2 3 <HEAD> 4 <TITLE> </TITLE> 5 </HEAD> 6 7 <BODY> 8 <H3><B> </B></H3> 9 <H4><I> </I></H4> 10 </BODY> </HTML> 1. HTML 1. 2.

p.2 1 <HTML> 2 3 <HEAD> 4 <TITLE> </TITLE> 5 </HEAD> 6 7 <BODY> 8 <H3><B> </B></H3> 9 <H4><I> </I></H4> 10 </BODY> </HTML> 1. HTML 1. 2. 2005-06 p.1 HTML HyperText Mark-up Language 1. HTML Logo, Pascal, C++, Java HTML 2. HTML (tag) 3. HTML 4. HTML 1. HTML 2. 3. FTP HTML HTML html 1. html html html cutehtmleasyhtml 2. wyswyg (What you see

More information

ebook140-8

ebook140-8 8 Microsoft VPN Windows NT 4 V P N Windows 98 Client 7 Vintage Air V P N 7 Wi n d o w s NT V P N 7 VPN ( ) 7 Novell NetWare VPN 8.1 PPTP NT4 VPN Q 154091 M i c r o s o f t Windows NT RAS [ ] Windows NT4

More information

ebook66-24

ebook66-24 2 4 0 C P U 0 C P U hardware exception software exception -- e x c e p t t r y f i n a l l e x c e p t try f i n a l l y e x c e p t t r y - e x c e p t t r y - f i n a l l y 24.1 exception filter t r

More information

epub 94-3

epub 94-3 3 A u t o C A D L AY E R L I N E T Y P E O S N A P S T Y L E X R E F - AutoLISP Object ARX A u t o C A D D C L A u t o C A D A u t o d e s k P D B D C L P D B D C L D C L 3.1 Wi n d o w s A u t o C A D

More information

ebook45-5

ebook45-5 5 S Q L SQL Server 5.1 5-1 SQL Server 5-1 A B S A C O S A S I N ATA N AT N 2 C E I L I N G C O S C O T D E G R E E S E X P F L O O R L O G L O G 10 P I P O W E R R A D I A N S R A N D R O U N D S I G N

More information

( Version 0.4 ) 1

( Version 0.4 ) 1 ( Version 0.4 ) 1 3 3.... 3 3 5.... 9 10 12 Entities-Relationship Model. 13 14 15.. 17 2 ( ) version 0.3 Int TextVarchar byte byte byte 3 Id Int 20 Name Surname Varchar 20 Forename Varchar 20 Alternate

More information

提纲 1 2 OS Examples for 3

提纲 1 2 OS Examples for 3 第 4 章 Threads2( 线程 2) 中国科学技术大学计算机学院 October 28, 2009 提纲 1 2 OS Examples for 3 Outline 1 2 OS Examples for 3 Windows XP Threads I An Windows XP application runs as a seperate process, and each process may

More information

epub 21-22

epub 21-22 2 2 F i r e w o r k s 2 3We b 2 4We b 2 5 S h o c k w a v e F l a s h f i r e w o r k s / D r e a m w e a v e r D r e a m w e a v e r F i r e w o r k s F i r e w o r k s F i r e w o r k s F i r e w o r

More information

Microsoft Word - 3D手册2.doc

Microsoft Word - 3D手册2.doc 第 一 章 BLOCK 前 处 理 本 章 纲 要 : 1. BLOCK 前 处 理 1.1. 创 建 新 作 业 1.2. 设 定 模 拟 控 制 参 数 1.3. 输 入 对 象 数 据 1.4. 视 图 操 作 1.5. 选 择 点 1.6. 其 他 显 示 窗 口 图 标 钮 1.7. 保 存 作 业 1.8. 退 出 DEFORMTM3D 1 1. BLOCK 前 处 理 1.1. 创 建

More information

Chapter 9: Objects and Classes

Chapter 9: Objects and Classes What is a JavaBean? JavaBean Java JavaBean Java JavaBean JComponent tooltiptext font background foreground doublebuffered border preferredsize minimumsize maximumsize JButton. Swing JButton JButton() JButton(String

More information

Strings

Strings Polymorphism and Virtual Functions Cheng-Chin Chiang Virtual Function Basics 多 型 (Polymorphism) 賦 予 一 個 函 數 多 種 意 涵, 存 在 於 同 一 類 別 之 內 祖 先 類 別 與 後 代 類 別 間 物 件 導 向 程 式 設 計 基 本 原 理 虛 擬 函 數 (Virtual Function)

More information

Bus Hound 5

Bus Hound 5 Bus Hound 5.0 ( 1.0) 21IC 2007 7 BusHound perisoft PC hound Bus Hound 6.0 5.0 5.0 Bus Hound, IDE SCSI USB 1394 DVD Windows9X,WindowsMe,NT4.0,2000,2003,XP XP IRP Html ZIP SCSI sense USB Bus Hound 1 Bus

More information

Text 文字输入功能 , 使用者可自行定义文字 高度, 旋转角度 , 行距 , 字间距离 和 倾斜角度。

Text 文字输入功能 , 使用者可自行定义文字  高度, 旋转角度 , 行距 , 字间距离 和 倾斜角度。 GerbTool Wise Software Solution, Inc. File New OPEN CLOSE Merge SAVE SAVE AS Page Setup Print Print PreView Print setup (,, IMPORT Gerber Wizard Gerber,Aperture Gerber Gerber, RS-274-D, RS-274-X, Fire9000

More information

K7VT2_QIG_v3

K7VT2_QIG_v3 ............ 1 2 3 4 5 [R] : Enter Raid setup utility 6 Press[A]keytocreateRAID RAID Type: JBOD RAID 0 RAID 1: 2 7 RAID 0 Auto Create Manual Create: 2 RAID 0 Block Size: 16K 32K

More information

ebook60-13

ebook60-13 13 H T M L F l a s h J a v a < i m g > 13.1 H T M L A c t i v e X H T M L < i m g > HTML 4.0 < o b j e c t > < / o b j e c t > 13.1.1 H T M L < o b j e c t > c l a s s i d d a t a < p a r a m > 1.

More information

BOOL EnumWindows(WNDENUMPROC lparam); lpenumfunc, LPARAM (Native Interface) PowerBuilder PowerBuilder PBNI 2

BOOL EnumWindows(WNDENUMPROC lparam); lpenumfunc, LPARAM (Native Interface) PowerBuilder PowerBuilder PBNI 2 PowerBuilder 9 PowerBuilder Native Interface(PBNI) PowerBuilder 9 PowerBuilder C++ Java PowerBuilder 9 PBNI PowerBuilder Java C++ PowerBuilder NVO / PowerBuilder C/C++ PowerBuilder 9.0 PowerBuilder Native

More information

untitled

untitled http://idc.hust.edu.cn/~rxli/ 1.1 1.2 1.3 1.4 1.5 1.6 2 1.1 1.1.1 1.1.2 1.1.3 3 1.1.1 Data (0005794, 601,, 1, 1948.03.26, 01) (,,,,,) 4 1.1.1 Database DB 5 1.1.1 (DBMS) DDL ( Create, Drop, Alter) DML(

More information

Microsoft Word - Learn Objective-C.doc

Microsoft Word - Learn Objective-C.doc Learn Objective C http://cocoadevcentral.com/d/learn_objectivec/ Objective C Objective C Mac C Objective CC C Scott Stevenson [object method]; [object methodwithinput:input]; output = [object methodwithoutput];

More information

Microsoft Word - ch04三校.doc

Microsoft Word - ch04三校.doc 4-1 4-1-1 (Object) (State) (Behavior) ( ) ( ) ( method) ( properties) ( functions) 4-2 4-1-2 (Message) ( ) ( ) ( ) A B A ( ) ( ) ( YourCar) ( changegear) ( lowergear) 4-1-3 (Class) (Blueprint) 4-3 changegear

More information

mvc

mvc Build an application Tutor : Michael Pan Application Source codes - - Frameworks Xib files - - Resources - ( ) info.plist - UIKit Framework UIApplication Event status bar, icon... delegation [UIApplication

More information

概述

概述 OPC Version 1.8 build 0925 KOCRDK Knight OPC Client Rapid Development Toolkits Knight Workgroup, eehoo Technology 2002-9 OPC 1...4 2 API...5 2.1...5 2.2...5 2.2.1 KOC_Init...5 2.2.2 KOC_Uninit...5 2.3...5

More information

C++ 程式設計

C++ 程式設計 C C 料, 數, - 列 串 理 列 main 數串列 什 pointer) 數, 數, 數 數 省 不 不, 數 (1) 數, 不 數 * 料 * 數 int *int_ptr; char *ch_ptr; float *float_ptr; double *double_ptr; 數 (2) int i=3; int *ptr; ptr=&i; 1000 1012 ptr 數, 數 1004

More information

Fun Time (1) What happens in memory? 1 i n t i ; 2 s h o r t j ; 3 double k ; 4 char c = a ; 5 i = 3; j = 2; 6 k = i j ; H.-T. Lin (NTU CSIE) Referenc

Fun Time (1) What happens in memory? 1 i n t i ; 2 s h o r t j ; 3 double k ; 4 char c = a ; 5 i = 3; j = 2; 6 k = i j ; H.-T. Lin (NTU CSIE) Referenc References (Section 5.2) Hsuan-Tien Lin Deptartment of CSIE, NTU OOP Class, March 15-16, 2010 H.-T. Lin (NTU CSIE) References OOP 03/15-16/2010 0 / 22 Fun Time (1) What happens in memory? 1 i n t i ; 2

More information

Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLO

Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLO Car DVD New GUI IR Flow User Manual V0.1 Jan 25, 2008 19, Innovation First Road Science Park Hsin-Chu Taiwan 300 R.O.C. Tel: 886-3-578-6005 Fax: 886-3-578-4418 Web: www.sunplus.com Important Notice SUNPLUS

More information

ebook 96-16

ebook 96-16 16 13 / ( ) 16-1 SQL*Net/Net8 SQL*Net/Net8 SQL*Net/Net8 16-1 / S Q L SQL*Net V2 N e t 8 S Q L * N e t N e t ( ) 16.1 S Q L O r a c l e S Q L 16 401 ) ( H R _ L I N K create database link p u b l i c (

More information

untitled

untitled .Net ADF ArcGIS Server ESRI ( ) .NET (ADF.NET) ADF.NET Web Controls Demo .NET (ADF.NET) ADF.NET ArcGIS Web C# and VB.NET Web Server Page Layout, Map, TOC, Overview Map ArcGIS Server.NET ? GIS web ArcGIS

More information

Simulator By SunLingxi 2003

Simulator By SunLingxi 2003 Simulator By SunLingxi sunlingxi@sina.com 2003 windows 2000 Tornado ping ping 1. Tornado Full Simulator...3 2....3 3. ping...6 4. Tornado Simulator BSP...6 5. VxWorks simpc...7 6. simulator...7 7. simulator

More information

「人名權威檔」資料庫欄位建置表

「人名權威檔」資料庫欄位建置表 ( version 0.2) 1 3 3 3 3 5 6 9.... 11 Entities - Relationship Model..... 12 13 14 16 2 ( ) Int Varchar Text byte byte byte Id Int 20 Name Surname Varchar 20 Forename Varchar 20 Alternate Type Varchar 10

More information

1 Framework.NET Framework Microsoft Windows.NET Framework.NET Framework NOTE.NET NET Framework.NET Framework 2.0 ( 3 ).NET Framework 2.0.NET F

1 Framework.NET Framework Microsoft Windows.NET Framework.NET Framework NOTE.NET NET Framework.NET Framework 2.0 ( 3 ).NET Framework 2.0.NET F 1 Framework.NET Framework Microsoft Windows.NET Framework.NET Framework NOTE.NET 2.0 2.0.NET Framework.NET Framework 2.0 ( 3).NET Framework 2.0.NET Framework ( System ) o o o o o o Boxing UnBoxing() o

More information

c_cpp

c_cpp C C++ C C++ C++ (object oriented) C C++.cpp C C++ C C++ : for (int i=0;i

More information

(Load Project) (Save Project) (OffLine Mode) (Help) Intel Hex Motor

(Load Project) (Save Project) (OffLine Mode) (Help) Intel Hex Motor 1 4.1.1.1 (Load) 14 1.1 1 4.1.1.2 (Save) 14 1.1.1 1 4.1.2 (Buffer) 16 1.1.2 1 4.1.3 (Device) 16 1.1.3 1 4.1.3.1 (Select Device) 16 2 4.1.3.2 (Device Info) 16 2.1 2 4.1.3.3 (Adapter) 17 2.1.1 CD-ROM 2 4.1.4

More information

59 1 CSpace 2 CSpace CSpace URL CSpace 1 CSpace URL 2 Lucene 3 ID 4 ID Web 1. 2 CSpace LireSolr 3 LireSolr 3 Web LireSolr ID

59 1 CSpace 2 CSpace CSpace URL CSpace 1 CSpace URL 2 Lucene 3 ID 4 ID Web 1. 2 CSpace LireSolr 3 LireSolr 3 Web LireSolr ID 58 2016. 14 * LireSolr LireSolr CEDD Ajax CSpace LireSolr CEDD Abstract In order to offer better image support services it is necessary to extend the image retrieval function of our institutional repository.

More information

影視後製全攻略 Premiere Pro After Effects Encore 自序 Adobe Premiere Pro After Effects Encore 2008 Adobe CS Adobe CS5 Adobe CS4 Premiere Pro After Effect

影視後製全攻略 Premiere Pro After Effects Encore 自序 Adobe Premiere Pro After Effects Encore 2008 Adobe CS Adobe CS5 Adobe CS4 Premiere Pro After Effect 自序 Adobe Premiere Pro After Effects Encore 2008 Adobe CS3 2010 Adobe CS5 Adobe CS4 Premiere Pro After Effects Encore 18 ii Tony Cathy 2010/8 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 iii Premiere

More information

RUN_PC連載_10_.doc

RUN_PC連載_10_.doc PowerBuilder 8 (10) Jaguar CTS ASP Jaguar CTS PowerDynamo Jaguar CTS Microsoft ASP (Active Server Pages) ASP Jaguar CTS ASP Jaguar CTS ASP Jaguar CTS ASP Jaguar CTS ASP Jaguar CTS ASP Jaguar Server ASP

More information

Adobe® Flash® 的 Adobe® ActionScript® 3.0 程式設計

Adobe® Flash® 的 Adobe® ActionScript® 3.0 程式設計 337 18 Adobe Flash CS4 Professional MovieClip ActionScript Flash ActionScript Flash Flash Flash MovieClip MovieClip ActionScript ( ) MovieClip Flash Sprite ActionScript MovieClip ActionScript 3.0 Shape

More information

Microsoft Word - 11.doc

Microsoft Word - 11.doc 除 錯 技 巧 您 將 於 本 章 學 到 以 下 各 項 : 如 何 在 Visual C++ 2010 的 除 錯 工 具 控 制 下 執 行 程 式? 如 何 逐 步 地 執 行 程 式 的 敘 述? 如 何 監 看 或 改 變 程 式 中 的 變 數 值? 如 何 監 看 程 式 中 計 算 式 的 值? 何 謂 Call Stack? 何 謂 診 斷 器 (assertion)? 如 何

More information

ebook12-1

ebook12-1 API N e t B I O S Wi n s o c k A P I Wi n s o c k 1 N e t B I O S Wi n s o c k A P I N e t B I O S O S / 2 D O S 2 3 4 Wi n d o w s Wi n d o w s 1 NetBIOS Network Basic Input/Output System, NetBIOS A P

More information

epub 32-2

epub 32-2 2 L e x i W Y S I W Y G L e x i 8 2-1 L e x i 2-1 Lexi L e x i C a l d e r D o c [ C L 92 ] 2 23 2.1 L e x i 1) L e x i 2) L e x i 3) L e x i W Y S I W Y G L e x i 4 ) ( l o o k - a n d - f e e l )L e

More information

Microsoft PowerPoint - L17_Inheritance_v4.pptx

Microsoft PowerPoint - L17_Inheritance_v4.pptx C++ Programming Lecture 17 Wei Liu ( 刘 威 ) Dept. of Electronics and Information Eng. Huazhong University of Science and Technology May. 2015 Lecture 17 Chapter 20. Object-Oriented Programming: Inheritance

More information

CH01.indd

CH01.indd 3D ios Android Windows 10 App Apple icloud Google Wi-Fi 4G 1 ( 3D ) 2 3 4 5 CPU / / 2 6 App UNIX OS X Windows Linux (ios Android Windows 8/8.1/10 BlackBerry OS) 7 ( ZigBee UWB) (IEEE 802.11/a/b/g/n/ad/ac

More information

untitled

untitled 2006 6 Geoframe Geoframe 4.0.3 Geoframe 1.2 1 Project Manager Project Management Create a new project Create a new project ( ) OK storage setting OK (Create charisma project extension) NO OK 2 Edit project

More information

Windows XP

Windows XP Windows XP What is Windows XP Windows is an Operating System An Operating System is the program that controls the hardware of your computer, and gives you an interface that allows you and other programs

More information

VB程序设计教程

VB程序设计教程 高 等 学 校 教 材 Visual Basic 程 序 设 计 教 程 魏 东 平 郑 立 垠 梁 玉 环 石 油 大 学 出 版 社 内 容 提 要 本 书 是 按 高 等 学 校 计 算 机 程 序 设 计 课 程 教 学 大 纲 编 写 的 大 学 教 材, 主 要 包 括 VB 基 础 知 识 常 用 程 序 结 构 和 算 法 Windows 用 户 界 面 设 计 基 础 文 件 处

More information

新版 明解C++入門編

新版 明解C++入門編 511!... 43, 85!=... 42 "... 118 " "... 337 " "... 8, 290 #... 71 #... 413 #define... 128, 236, 413 #endif... 412 #ifndef... 412 #if... 412 #include... 6, 337 #undef... 413 %... 23, 27 %=... 97 &... 243,

More information

Microsoft PowerPoint - string_kruse [兼容模式]

Microsoft PowerPoint - string_kruse [兼容模式] Strings Strings in C not encapsulated Every C-string has type char *. Hence, a C-string references an address in memory, the first of a contiguous set of bytes that store the characters making up the string.

More information

9, : Java 19., [4 ]. 3 Apla2Java Apla PAR,Apla2Java Apla Java.,Apla,,, 1. 1 Apla Apla A[J ] Get elem (set A) A J A B Intersection(set A,set B) A B A B

9, : Java 19., [4 ]. 3 Apla2Java Apla PAR,Apla2Java Apla Java.,Apla,,, 1. 1 Apla Apla A[J ] Get elem (set A) A J A B Intersection(set A,set B) A B A B 25 9 2008 9 M ICROEL ECTRON ICS & COMPU TER Vol. 25 No. 9 September 2008 J ava 1,2, 1,2, 1,2 (1, 330022 ; 2, 330022) :,. Apla - Java,,.. : PAR ;Apla - Java ; ;CMP ; : TP311 : A : 1000-7180 (2008) 09-0018

More information

Business Objects 5.1 Windows BusinessObjects 1

Business Objects 5.1 Windows BusinessObjects 1 Business Objects 5.1 Windows BusinessObjects 1 BusinessObjects 2 BusinessObjects BusinessObjects BusinessObjects Windows95/98/NT BusinessObjects Windows BusinessObjects BusinessObjects BusinessObjects

More information

Microsoft PowerPoint - Model Checking a Lazy Concurrent List-Based Set Algorithm.ppt [Compatibility Mode]

Microsoft PowerPoint - Model Checking a Lazy Concurrent List-Based Set Algorithm.ppt [Compatibility Mode] Model Checking a Lazy Concurrent List-Based Set Algorithm ZHANG Shaojie, LIU Yang National University of Singapore Agenda Introduction Background Ourapproach Overview Linearizabilitydefinition Modelinglanguage

More information

UP-CR10L

UP-CR10L 2-666-584-16 (1) 數 位 相 片 印 相 機 使 用 說 明 書 在 操 作 印 表 機 前 請 詳 閱 本 手 冊, 並 保 留 以 備 不 時 之 需 UP-CR10L 2005 Sony Corporation 中 文 警 告 若 要 避 免 起 火 或 電 擊 危 險, 請 勿 將 本 機 器 曝 露 在 雨 中 或 潮 濕 環 境 中 為 避 免 觸 電, 切 勿 擅 自

More information

05 01 accordion UI containers 03 Accordion accordion UI accordion 54

05 01 accordion UI containers 03 Accordion accordion UI accordion 54 jquery UI plugin Accordion 05 01 accordion UI containers 03 Accordion accordion UI accordion 54 05 jquery UI plugin 3-1

More information

Fuzzy Highlight.ppt

Fuzzy Highlight.ppt Fuzzy Highlight high light Openfind O(kn) n k O(nm) m Knuth O(n) m Knuth Unix grep regular expression exact match Yahoo agrep fuzzy match Gais agrep Openfind gais exact match fuzzy match fuzzy match O(kn)

More information

ebook4-12

ebook4-12 12 CGI C G I (Common Gateway Interface) We b P H P C G I H T M L H T T P H T M L We b H T T P We We b I n t e r n e t R F C h t t p : / / w w w. i e t f. o rg / P H P C G I C G A p a c h e C G I P H P

More information

1-1 database columnrow record field 不 DBMS Access Paradox SQL Server Linux MySQL Oracle IBM Informix IBM DB2 Sybase 1-2

1-1 database columnrow record field 不 DBMS Access Paradox SQL Server Linux MySQL Oracle IBM Informix IBM DB2 Sybase 1-2 CHAPTER 1 Understanding Core Database Concepts 1-1 database columnrow record field 不 DBMS Access Paradox SQL Server Linux MySQL Oracle IBM Informix IBM DB2 Sybase 1-2 1 Understanding Core Database Concepts

More information

回滚段探究

回滚段探究 oracle oracle internal DBA oracle document oracle concepts oracle document oracle DBWR update t set object_id = '0' where object_id = '12344'; 1 row updated. commit; Commit complete. 0 12344 12344 0 10%

More information

6-1 Table Column Data Type Row Record 1. DBMS 2. DBMS MySQL Microsoft Access SQL Server Oracle 3. ODBC SQL 1. Structured Query Language 2. IBM

6-1 Table Column Data Type Row Record 1. DBMS 2. DBMS MySQL Microsoft Access SQL Server Oracle 3. ODBC SQL 1. Structured Query Language 2. IBM CHAPTER 6 SQL SQL SQL 6-1 Table Column Data Type Row Record 1. DBMS 2. DBMS MySQL Microsoft Access SQL Server Oracle 3. ODBC SQL 1. Structured Query Language 2. IBM 3. 1986 10 ANSI SQL ANSI X3. 135-1986

More information

ebook10-5

ebook10-5 Oracle 7.x RDBMS 5 Oracle S Y S S Y S T E M O r a c l e 5.1 O r a c l e R D B M S O r a c l e O r a c l e 5.2 SYS SYSTEM S Y S S Y S T E M O r a c l e S Y S V $ D B A C O N N E C T R E S O U R C E S Y

More information

MATLAB 1

MATLAB 1 MATLAB 1 MATLAB 2 MATLAB PCI-1711 / PCI-1712 MATLAB PCI-1711 / PCI-1712 MATLAB The Mathworks......1 1...........2 2.......3 3................4 4. DAQ...............5 4.1. DAQ......5 4.2. DAQ......6 5.

More information

四川省普通高等学校

四川省普通高等学校 四 川 省 普 通 高 等 学 校 计 算 机 应 用 知 识 和 能 力 等 级 考 试 考 试 大 纲 (2013 年 试 行 版 ) 四 川 省 教 育 厅 计 算 机 等 级 考 试 中 心 2013 年 1 月 目 录 一 级 考 试 大 纲 1 二 级 考 试 大 纲 6 程 序 设 计 公 共 基 础 知 识 6 BASIC 语 言 程 序 设 计 (Visual Basic) 9

More information

C C C The Most Beautiful Language and Most Dangerous Language in the Programming World! C 2 C C C 4 C 40 30 10 Project 30 C Project 3 60 Project 40

C C C The Most Beautiful Language and Most Dangerous Language in the Programming World! C 2 C C C 4 C 40 30 10 Project 30 C Project 3 60 Project 40 C C trio@seu.edu.cn C C C C The Most Beautiful Language and Most Dangerous Language in the Programming World! C 2 C C C 4 C 40 30 10 Project 30 C Project 3 60 Project 40 Week3 C Week5 Week5 Memory & Pointer

More information

untitled

untitled 1 Access 料 (1) 立 料 [] [] [ 料 ] 立 料 Access 料 (2) 料 [ 立 料 ] Access 料 (3) 料 料 料 料 料 料 欄 ADO.NET ADO.NET.NET Framework 類 來 料 料 料 料 料 Ex MSSQL Access Excel XML ADO.NET 連 .NET 料.NET 料 料來 類.NET Data Provider

More information

CDWA Mapping. 22 Dublin Core Mapping

CDWA Mapping. 22 Dublin Core Mapping (version 0.23) 1 3... 3 3 3 5 7 10 22 CDWA Mapping. 22 Dublin Core Mapping. 24 26 28 30 33 2 3 X version 0.2 ( ) 4 Int VarcharText byte byte byte Id Int 10 Management Main Code Varchar 30 Code Original

More information

USB - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - - 7 - DES Module FSM CONTROLLER 8 6 8 Key ROM 8 8 Data_in RAM Data_out RAM 8 USB Board - 8 - - 9 - - 10 - - 11 - - 12 - USB device INF Windows INF Device Function

More information

1.JasperReport ireport JasperReport ireport JDK JDK JDK JDK ant ant...6

1.JasperReport ireport JasperReport ireport JDK JDK JDK JDK ant ant...6 www.brainysoft.net 1.JasperReport ireport...4 1.1 JasperReport...4 1.2 ireport...4 2....4 2.1 JDK...4 2.1.1 JDK...4 2.1.2 JDK...5 2.1.3 JDK...5 2.2 ant...6 2.2.1 ant...6 2.2.2 ant...6 2.3 JasperReport...7

More information

全国计算机技术与软件专业技术资格(水平)考试

全国计算机技术与软件专业技术资格(水平)考试 全 国 计 算 机 技 术 与 软 件 专 业 技 术 资 格 ( 水 平 ) 考 试 2008 年 上 半 年 程 序 员 下 午 试 卷 ( 考 试 时 间 14:00~16:30 共 150 分 钟 ) 试 题 一 ( 共 15 分 ) 阅 读 以 下 说 明 和 流 程 图, 填 补 流 程 图 中 的 空 缺 (1)~(9), 将 解 答 填 入 答 题 纸 的 对 应 栏 内 [ 说 明

More information

科学计算的语言-FORTRAN95

科学计算的语言-FORTRAN95 科 学 计 算 的 语 言 -FORTRAN95 目 录 第 一 篇 闲 话 第 1 章 目 的 是 计 算 第 2 章 FORTRAN95 如 何 描 述 计 算 第 3 章 FORTRAN 的 编 译 系 统 第 二 篇 计 算 的 叙 述 第 4 章 FORTRAN95 语 言 的 形 貌 第 5 章 准 备 数 据 第 6 章 构 造 数 据 第 7 章 声 明 数 据 第 8 章 构 造

More information

Ác Åé å Serial ATA ( Sil3132) S A T A (1) SATA (2) BIOS SATA (3)* RAID BIOS RAID (4) SATA (5) SATA (a) S A T A ( S A T A R A I D ) (b) (c) Windows XP

Ác Åé å Serial ATA ( Sil3132) S A T A (1) SATA (2) BIOS SATA (3)* RAID BIOS RAID (4) SATA (5) SATA (a) S A T A ( S A T A R A I D ) (b) (c) Windows XP Serial ATA ( Sil3132)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 6 (4) S A T A... 10 (5) S A T A... 12 Ác Åé å Serial ATA ( Sil3132) S A T A (1) SATA (2) BIOS SATA (3)* RAID BIOS

More information

ebook 132-2

ebook 132-2 2 SQL Server 7.0 SQL Server SQL Server 7 SQL Server 7 5 2.1 SQL Server 7 SQL Server 7 SQL Server SQL Server SQL Server 2.1.1 SQL Server Windows NT/2000 Windows 95/98 ( r a n d o m access memory R A M )

More information

SP_ SP_03 JAVA...6 SP_10 SQL...8 SP_ SP_ SP_ SP_ SP_ SP_ SP_ SP_04.NET...33 SP_02 C...37 SP_05

SP_ SP_03 JAVA...6 SP_10 SQL...8 SP_ SP_ SP_ SP_ SP_ SP_ SP_ SP_04.NET...33 SP_02 C...37 SP_05 1 SP_01...3 SP_03 JAVA...6 SP_10 SQL...8 SP_51...12 SP_32...15 SP_53...18 SP_20...21 SP_22...24 SP_21...27 SP_23...30 SP_04.NET...33 SP_02 C...37 SP_05 FLASH...39 SP_06...42 2 SP_01 1. 8. Excel 2. 9. PowerPoint

More information

User’s Manual

User’s Manual V7 用 户 手 册 亿 图 为 您 专 业 图 表 设 计 提 供 最 佳 解 决 方 案 2004-2014 EdrawSoft. All right reserved. Edraw and Edraw logo are registered trademarks of EdrawSoft. 目 录 亿 图 怎 样 优 越 于 其 他 软 件... 5 亿 图 7 个 新 功 能... 6 为

More information

ebook14-4

ebook14-4 4 TINY LL(1) First F o l l o w t o p - d o w n 3 3. 3 backtracking parser predictive parser recursive-descent parsing L L ( 1 ) LL(1) parsing L L ( 1 ) L L ( 1 ) 1 L 2 L 1 L L ( k ) k L L ( 1 ) F i r s

More information

untitled

untitled 1 .NET 料.NET 料 料來 類.NET Data Provider SQL.NET Data Provider System.Data.SqlClient 料 MS-SQL OLE DB.NET Data Provider System.Data.OleDb 料 Dbase FoxPro Excel Access Oracle Access ODBC.NET Data Provider 料

More information

(CIP) Web /,. :,2005. 1 ISBN 7 81058 782 X.W............T P393.4 CIP (2004) 118797 Web ( 99 200436) ( http:/ / www.shangdapress.com 66135110) : * 787

(CIP) Web /,. :,2005. 1 ISBN 7 81058 782 X.W............T P393.4 CIP (2004) 118797 Web ( 99 200436) ( http:/ / www.shangdapress.com 66135110) : * 787 Web (CIP) Web /,. :,2005. 1 ISBN 7 81058 782 X.W............T P393.4 CIP (2004) 118797 Web ( 99 200436) ( http:/ / www.shangdapress.com 66135110) : * 787 1092 1/ 16 30.75 748 2005 1 1 2005 1 1 : 1 3 100

More information

九十五年度提升服務品質績效報告

九十五年度提升服務品質績效報告 年 度 錄 六 年 錄 料 參 來 力 錄 立 年 度 立 行 立 理 立 理 立 六 立 禮 立 館 立 館 館 理 行 類 參 參 立 參 類 落 便 行 不 1 料 立 林 麗 聯 北 林 路 參 落 便 參 2 3 立 參 立 了 六 歷 精 流 館 更 館 年 來 數 數 館 識 不 易 館 館 參 降 落 館 年 年 年 列 不 參 參 年 館 行 館 參 不 便 了 更 度 年 年 館

More information

Microsoft PowerPoint - Lecture7II.ppt

Microsoft PowerPoint - Lecture7II.ppt Lecture 8II SUDOKU PUZZLE SUDOKU New Play Check 軟體實作與計算實驗 1 4x4 Sudoku row column 3 2 } 4 } block 1 4 軟體實作與計算實驗 2 Sudoku Puzzle Numbers in the puzzle belong {1,2,3,4} Constraints Each column must contain

More information

2007

2007 2007 年 上 半 年 软 件 评 测 师 考 试 浅 析 作 者 : 陈 嘉 祥 方 耀 公 司 : 广 东 亿 迅 科 技 有 限 公 司 ( 质 量 管 理 部 ) 1 简 介 1.1 目 的 本 文 章 主 要 介 绍 软 件 评 测 师 考 试 的 范 围 内 容 以 及 其 重 要 性, 还 有 相 关 的 试 题 分 析 1.2 适 用 范 围 有 意 参 与 或 将 来 有 意 参

More information

RunPC2_.doc

RunPC2_.doc PowerBuilder 8 (5) PowerBuilder Client/Server Jaguar Server Jaguar Server Connection Cache Thin Client Internet Connection Pooling EAServer Connection Cache Connection Cache Connection Cache Connection

More information

範本檔

範本檔 右 鍵 即 時 通 專 題 學 生 : 林 信 良 朱 韋 寧 指 導 教 授 : 鄭 福 炯 教 授 大 同 大 學 資 訊 工 程 學 系 專 題 報 告 中 華 民 國 九 十 七 年 一 月 II 摘 要 當 我 們 在 上 網 的 時 候, 有 時 候 會 想 要 搜 尋 一 些 資 料 這 時 候 我 們 就 要 把 想 要 搜 尋 的 文 字 複 製 起 來, 再 開 啟 一 個 新

More information

2 WF 1 T I P WF WF WF WF WF WF WF WF 2.1 WF WF WF WF WF WF

2 WF 1 T I P WF WF WF WF WF WF WF WF 2.1 WF WF WF WF WF WF Chapter 2 WF 2.1 WF 2.2 2. XAML 2. 2 WF 1 T I P WF WF WF WF WF WF WF WF 2.1 WF WF WF WF WF WF WF WF WF WF EDI API WF Visual Studio Designer 1 2.1 WF Windows Workflow Foundation 2 WF 1 WF Domain-Specific

More information

Microsoft Word - 01.DOC

Microsoft Word - 01.DOC 第 1 章 JavaScript 简 介 JavaScript 是 NetScape 公 司 为 Navigator 浏 览 器 开 发 的, 是 写 在 HTML 文 件 中 的 一 种 脚 本 语 言, 能 实 现 网 页 内 容 的 交 互 显 示 当 用 户 在 客 户 端 显 示 该 网 页 时, 浏 览 器 就 会 执 行 JavaScript 程 序, 用 户 通 过 交 互 式 的

More information