Welcome![Sign In][Sign Up]
Location:
Search - user journal

Search list

[Develop ToolsC++AandQ

Description: 本文根据发表在CUJ Expert Forum上的两篇文章编译而成。C/C++ User s Journal是目前最出色的C/C++语言专业杂志,特别是在C++ Report闭刊之后,CUJ的地位更加突出。CUJ Expert Forum是CUJ主办的网上技术专栏,汇集2000年10月以来C++社群中顶尖专家的技术短文,并免费公开发布,精彩纷呈,是每一个C/C++学习者不可错过的资料。由Jim Hyslop和Herb Sutter主持的Conversation系列,是CUJ Expert Forum每期必备的精品专栏,以风趣幽默的对话形式讲解C++高级技术,在C++社群内得到广泛赞誉。译者特别挑选两篇设计模式方面的文章,介绍给大家。设计模式方面的经典著作是GoF的Design Patterns。但是那本书有一个缺点,不好懂。从风格上讲,该书与其说是为学习者而写作的教程范本,还不如说是给学术界人士看的学术报告,严谨有余,生动不足。这一点包括该书作者和象Bjarne Stroustrup这样的大师都从不讳言。实际上Design Pattern并非一定是晦涩难懂的,通过生动的例子,一个中等水平的C++学习者完全可以掌握基本用法,在自己的编程实践中使用,得到立竿见影的功效。这两篇文章就是很好的例证。本文翻译在保证技术完整性的前提下作了不少删节和修改,以便使文章显得更紧凑。 -Based on the published in CUJ Expert Forum on the two articles from compiler. C / C User's Journal is the most excellent C / C language magazine, especially in the C Report to be closed, the status of CUJ more prominent. CUJ CUJ Expert Forum is sponsored by the online technology column Survey October 2000 C community has been the top technical expert appeared, and free public release, brilliant, Each is a C / C learners should not miss the information. By Jim Hyslop and Herb Sutter auspices of the Conversation series, CUJ Expert Forum is an essential quality each column a humorous forms of dialogue on the High C technology, the C community has been widely acclaimed. Translator selected two design patterns of articles introducing to you. Design patterns of the classics is GoF Design Pat
Platform: | Size: 134569 | Author: | Hits:

[Other resourceC++talk

Description: 本文根据发表在CUJ Expert Forum上的两篇文章编译而成。C/C++ User s Journal是目前最出色的C/C++语言专业杂志,特别是在C++ Report闭刊之后,CUJ的地位更加突出。CUJ Expert Forum是CUJ主办的网上技术专栏,汇集2000年10月以来C++社群中顶尖专家的技术短文,并免费公开发布,精彩纷呈,是每一个C/C++学习者不可错过的资料。由Jim Hyslop和Herb Sutter主持的Conversation系列,是CUJ Expert Forum每期必备的精品专栏,以风趣幽默的对话形式讲解C++高级技术,在C++社群内得到广泛赞誉。译者特别挑选两篇设计模式方面的文章,介绍给大家。设计模式方面的经典著作是GoF的Design Patterns。但是那本书有一个缺点,不好懂。从风格上讲,该书与其说是为学习者而写作的教程范本,还不如说是给学术界人士看的学术报告,严谨有余,生动不足。这一点包括该书作者和象Bjarne Stroustrup这样的大师都从不讳言。实际上Design Pattern并非一定是晦涩难懂的,通过生动的例子,一个中等水平的C++学习者完全可以掌握基本用法,在自己的编程实践中使用,得到立竿见影的功效。这两篇文章就是很好的例证。本文翻译在保证技术完整性的前提下作了不少删节和修改,以便使文章显得更紧凑。
Platform: | Size: 136773 | Author: 123 | Hits:

[Algorithmhyplas

Description: ************************************************************************ * * * * * THIS IS THE H Y P L A S 2.0 README FILE * * ----------------- * * * * HYPLAS is a finite element program for implicit small and large * * strain analisys of hyperelastic and elasto-plastic two-dimensional * * and axisymmetric solids * * * * HYPLAS v2.0 is the companion software to the textbook: * * EA de Souza Neto, D Peric & DRJ Owen. Computational Methods for * * Plasticity: Theory and Applications. Wiley, Chichester, 2008. * * (www.wiley.com/go/desouzaneto) * * * * Copyright (c) 1998-2008 EA de Souza Neto, D Peric, D.R.J. Owen * *----------------------------------------------------------------------* * File last updated: 18 October 2008 * * * * This file belongs in the directory ../HYPLAS_v2.0 * ************************************************************************ * * * I M P O R T A N T * * * * READ SECTIONS 0 TO 3 OF THIS FILE CAREFULLY BEFORE ATTEMPTING * * TO COMPILE AND RUN THE PROGRAM HYPLAS ON YOUR COMPUTER !! * * * * THE AUTHORS DO NOT GUARANTEE THAT ANY SUGGESTIONS/INSTRUCTIONS * * GIVEN IN THIS README FILE WILL WORK ON ANY PARTICULAR OPERATING * * SYSTEM. IF YOU DECIDE TO FOLLOW ANY SUGGESTIONS/INSTRUCTIONS * * GIVEN HERE YOU MUST DO SO AT YOUR OWN RISK. * * * * * * BUG REPORTS: Please send bug reports to * * * * hyplas_v2.0@live.co.uk * * * * Messages sent to the authors' personal email addresses * * will NOT be answered. * ************************************************************************ This file contains the following sections: 0. Copyright statement and disclaimer 0.(a) Copyright statement 0.(b) Disclaimer 0.(c) Conditions of use 1. Introduction 1.(a) Note on portability 2. Compiling and running HYPLAS 2.(a) Memory requirements 2.(b) Testing a newly compiled executable 3. The HYPLAS directory tree 4. Cross-referencing between the source code and the textbook 5. HYPLAS error messaging 6. Further remarks on HYPLAS ************************************************************************ 0. COPYRIGHT STATEMENT AND DISCLAIMER ================================== 0.(a) Copyright statement ------------------- You may only use this program for your own private purposes. You are not allowed, in any circumstances, to distribute this program (including its source code, executable and any other files related to it, either in their original version or any modifications introduced by you, the authors or any other party) in whole or in part, either freely or otherwise, in any medium, without the prior written consent of the copyright holders. 0.(b) Disclaimer ---------- This program (including its source code, executable and any other files related to it) is provided "as is" without warranty of any kind, either expressed or implied, including, but not limited to, any implied warranties of fitness for purpose. In particular, THIS PROGRAM IS BY NO MEANS GUARANTEED TO BE FREE FROM ERRORS. This program (or any modification incorporated to it by you, the authors or any other party) will run entirely at your risk. The results produced by this program are in no way guaranteed to be fit for any purpose. Under no circumstances will the authors/copyright holders be liable to anyone for damages, including any general, special, incidental or consequential damages arising from the use or inability to use the program (including, but not limited to, loss or corruption of data, failure of the program to operate in any particular way as well as damages arising from the use of any results produced by the program for any purpose). 0.(c) Conditions of use ----------------- You may only use this program if you fully understand and agree with the terms of the above disclaimer. You must not use this program if you do not agree with or do not understand (fully or in part) these conditions of use. 1. INTRODUCTION ============ HYPLAS is a finite element code for small and large strain analysis of hyperelastic and elasto-plastic solids. Most procedures implemented in HYPLAS are described in detail in its companion textbook: EA de Souza Neto, D Peric & DRJ Owen. Computational Methods for Plasticity: Theory and Applications. Wiley, Chichester, 2008 (www.wiley.com/go/desouzaneto). 1.(a) Note on Portability ------------------- HYPLAS has been written in standard ANSI FORTRAN 77. Currently, the only known (and deliberate) exceptions to the FORTRAN 77 ANSI standard are the instructions: INCLUDE '' used in many routines to include the HYPLAS database files (common blocks and global variables), and; CALL GETENV('HYPLASHOME',HYPLASHOME) used in subroutine "ERRPRT" (file ../HYPLAS_v2.0/src/GENERAL/errprt.f). This instruction inquires the name of the system environment variable HYPLASHOME and writes it on the character string HYPLASHOME. This instruction is NOT part of the ANSI FORTRAN 77 standard, but seems to work in most currently available FORTRAN 77 compilers. 2. COMPILING AND RUNNING H Y P L A S ================================== The HYPLAS source code is stored in directory ../HYPLAS_v2.0/src/ (../HYPLAS_v2.0/ being the current directory) and all its subdirectories. To generate an executable file, you just need to compile the FORTRAN source files: ../HYPLAS_v2.0/src/hyplas.f and ../HYPLAS_v2.0/src/*/*.f together. We recommend that the executable HYPLAS be stored in the directory ../HYPLAS_v2.0/bin to which the environment variable HYPLASHOME should be set (see below how to set a system environmental variable). WINDOWS (R) systems ------------------- On Microsoft Windows(R) systems, HYPLAS has been successfully compiled using Intel Visual Fortran Compiler(R) integrated with Microsoft Visual Studio(R). Here you only need to create a project that contains all Fortran source files mentioned above as well as the include files ..\HYPLAS_v2.0\src\*.INC On a Windows XP system, the system environment variable HYPLASHOME can be set as follows: 1. Open a File Manager 2. Right-click on the "My Computer" icon 3. Select "Properties" on the drop-down menu 4. A new window named "System Properties" will pop-up. Here select the "Advanced" tab. 5. On the "Advanced" tab, click the "Environment Variables" button. 6. A new window titled "Environment Variables" will pop-up. Here click the button "New" in the "System Variables" section of the window. 7. A new window will pop-up titled "New System Variable". Here you should fill the fields "Variable name" and "Variable Value", respectively, with HYPLASHOME and the path name (in full) of the directory ..\HYPLAS_v2.0\bin. 8. Press "OK" on the relevant pop-up windows. 9. The next time the computer is REBOOTED, this variable will be set to the correct path and HYPLAS should be able to find the error messages file ERROR.RUN if required. UNIX/LINUX systems ------------------ In a UNIX/LINUX operating system using a C-shell, for instance, the HYPLASHOME environment variable should be set with the command: setenv HYPLASHOME where here denotes the full path to the directory ../HYPLAS_v2.0/bin. To compile HYPLAS (from directory ../HYPLAS_v2.0/src) with a FORTRAN 77 compiler such as g77, you can use the command: g77 -o ../bin/hyplas hyplas.f */*.f Note that the executable file "hyplas" will be stored in the directory ../HYPLAS_2.0/bin (i.e. the directory set in the HYPLASHOME environment variable). Alternatively, you may use the Makefile provided (with suitable modifications, if needed) to create the HYPLAS executable. IMPORTANT: Before generating a HYPLAS executable, read Sections 2.(a) and 2.(b) below. 2.(a) Memory Requirements ------------------- HYPLAS memory requirements depend on the array dimensioning parameters set in files: ../HYPLAS_v2.0/src/ ELEMENTS.INC GLBDBASE.INC MATERIAL.INC MAXDIM.INC Files ELEMENTS.INC, GLBDBASE.INC and MATERIAL.INC contain parameters which are associated with the currently implemented finite elements and materials. DO NOT MODIFY THEM ! unless you are absolutely sure of what you are doing (only developers coding new elements or new material models/analysis types may need to modify them by changing the existing dimensioning parameters and/or including new parameters). The ONLY dimensioning file that can be safely modified by the average user is the file MAXDIM.INC This file contains the array dimensioning parameters related to the maximum permissible dimension of problems to be analysed by HYPLAS. These parameters include the maximum number of nodes, elements, element groups, etc. If necessary, CHANGE THESE PARAMETERS TO SUIT YOUR PROBLEM SIZE/MEMORY REQUIREMENTS before compiling HYPLAS. 2.(b) Testing a newly compiled executable ----------------------------------- After you have successfully compiled the HYPLAS source code and created an executable file, the next step is to run some tests to verify that HYPLAS is working well. To do this, proceed as follows: The directory ../HYPLAS_v2.0/book_examples/data_files contains a series of data files named .dat of benchmarked examples described in the companion textbook. The corresponding (benchmarked) result files are in the directory ../HYPLAS_v2.0/book_examples/result_files This directory contains a series of result files named .res generated with the current version of HYPLAS on a tested platform. All these files have been named such that their names start with the textbook section number where the corresponding example is described. For instance, files 14_9_2_tresca.dat and 14_9_2_tresca.res refer to a problem described in section 14.9.2 of the textbook, and so on. To check that HYPLAS is working well on your platform, after compiling HYPLAS, run the program HYPLAS for the examples of files .dat and compare the newly generated results .res with their benchmarked counterparts (of the same filename) in the result_files directory. To run an example, execute HYPLAS and use the keyboard to enter the name of the corresponding data file in full (including the extension .dat). To compare the benchmarked .res files against their newly generated you may proceed as follows: 1. On MICROSOFT WINDOWS systems - Here we have successfully used the software "ExamDiff" (the task was made particularly easy by selecting "View" and then the "Show Differences Only" option - this refers to version 1.8 of this software). 2. On UNIX/LINUX systems - Here we use the "diff" command from a shell window (and set the option to ignore blank spaces). A shell script may be used to perform this task automatically (including running HYPLAS and checking for result file differences) for all benchmarked examples provided. IMPORTANT: THE ONLY ACCEPTABLE DIFFERENCES BETWEEN A THE NEWLY GENERATED RESULT FILES AND THEIR BENCHMARKED COUNTERPARTS ARE THE DIMENSIONING PARAMETERS (FROM FILE MAXDIM.INC) USED TO COMPILE THE NEW EXECUTABLE (THESE PARAMETERS ARE PRINTED RIGHT AT THE BEGINNING OF THE RESULT FILES) AND NUMERICAL DIFFERENCES IN RESULTS DUE TO NUMERICAL "ROUNDING-OFF" (THESE ARE VERY SMALL DIFFERENCES THAT DEPEND ON THE PRECISION OF ARITHMETIC OPERATIONS IN THE PLATFORM USED). ALSO NOTE THAT THE EXAMPLES OF THE COMPANION TEXTBOOK DO NOT COVER ALL FEATURES OF HYPLAS. HENCE THIS TEST DOES NOT GUARANTEE THAT EVERYTHING IS WORKING PROPERLY. 3. THE H Y P L A S DIRECTORY TREE ================================ 3.(a) Summary ------- ../ HYPLAS_v2.0/ bin/ book_examples/ data_files/ result_files/ man/ html/ src/ CRYSTAL/ DAMAGE/ DAMAGED_ELASTIC/ DRUCKER_PRAGER/ ELASTIC/ ELEMENTS/ GENERAL/ MATERIALS/ MATHS/ MOHR_COULOMB/ OGDEN/ TRESCA/ VON_MISES/ VON_MISES_MIXED/ 3.(b) Description ----------- The HYPLAS program directory tree is organised as follows: ../HYPLAS_v2.0/ (this directory) This is the HYPLAS root directory, where the HYPLAS directory tree starts. ../HYPLAS_v2.0/bin/ This directory contains the file ERROR.RUN where most HYPLAS error/warning messages are. IMPORTANT: the environment variable HYPLASHOME should be set to this directory. Otherwise, HYPLAS will not find its error/warning messages when required. We also recommend that the EXECUTABLE of HYPLAS be stored in this directory. ../HYPLAS_v2.0/book_examples/ This directory has the following subdirectories: ../HYPLAS_v2.0/book_examples/data_files ../HYPLAS_v2.0/book_examples/result_files Refer to Section 2.(b) above for further details. ../HYPLAS_v2.0/man/ This is the HYPLAS documentation/manuals directory. It contains the following files: input_man.txt - A concise input data manual for HYPLAS in ASCII format; hyplas_calltree.txt - Contains a flowgraph (shows the call tree) of HYPLAS in ASCII-format. Note: calls to function subprograms are not included in this flowgraph; and the subdirectory: ../HYPLAS_v2.0/man/html This directory contains the hypertext (HTML) format Fortran source code and of manual pages of the entire HYPLAS program. Manual pages with descriptions of each function/subprogram including their argument list are linked to their corresponding HTML-format source code. This allows the user the navigate through the HYPLAS source code using a web browser. To start at the main program, use your web browser to open the file hyplas.html. This facility should be helpful to those trying to understand the flow of program HYPLAS. ../HYPLAS_v2.0/src/ This directory (and its subdirectories) contains the Fortran source code of HYPLAS. The files containing the sources are named following the standard practice: .f where is the name of the FORTRAN procedure (subroutine, function subprogram, etc.) whose source code is in file .f. The source code of the HYPLAS main program is in file hyplas.f and the HYPLAS database (COMMON blocks, array dimensioning parameters and other global parameters) is coded in the "include files" ELEMENTS.INC GLDBASE.INC MATERIAL.INC MAXDIM.INC in this directory. In addition, this directory contains a file named "Makefile" (UNIX-LINUX Release only) which may be used for compiling and linking HYPLAS in UNIX/LINUX systems. The subdirectories of ../HYPLAS_v2.0/src are as follows: ../HYPLAS_v2.0/src/CRYSTAL Contains the source code of all procedures related to the finite strain single crystal plasticity model implemented in HYPLAS. ../HYPLAS_v2.0/src/DAMAGE Source files of the procedures related to the Lemaitre ductile damage model implementation. ../HYPLAS_v2.0/src/DAMAGED_ELASTIC Source files of the procedures related to the damaged elasticity model with crack closure effect. ../HYPLAS_v2.0/src/DRUCKER_PRAGER Source files of the procedures related to the implemented Drucker-Prager plasticity model. ../HYPLAS_v2.0/src/ELASTIC Source files of the procedures related to the linear elasticity model (Hencky model under large strains) implemented. ../HYPLAS_v2.0/src/ELEMENTS Source files of the element interfaces and element-related procedures. ../HYPLAS_v2.0/src/GENERAL Source files of general procedures. ../HYPLAS_v2.0/src/MATERIALS Source files of the material interfaces. ../HYPLAS_v2.0/src/MATHS Source files of the mathematical procedures. ../HYPLAS_v2.0/src/MOHR_COULOMB Source files of the procedures related to the implemented Mohr-Coulomb plasticity model. ../HYPLAS_v2.0/src/OGDEN Source files of the procedures related to the implemented Ogden hyperelasticity model. ../HYPLAS_v2.0/src/TRESCA Source files of the procedures related to the implemented Tresca plasticity model. ../HYPLAS_v2.0/src/VON_MISES Source files of the procedures related to the implemented von Mises plasticity model with isotropic hardening. ../HYPLAS_v2.0/src/VON_MISES_MIXED Source files of the procedures related to the implemented von Mises plasticity model with mixed isotropic/kinematic hardening. 4. CROSS-REFERENCING BETWEEN THE SOURCE CODE AND THE TEXTBOOK ========================================================== Many references are made in the textbook to various subprograms of HYPLAS. These are usually made when a particular procedure described in the text is implemented in the program. The reader should refer to the textbook index. Also, a substantial number of comment lines have been added to the source code of HYPLAS with reference to sections, figures, boxes, etc of the textbook related to the part of the code in question. Such references are usually displayed after the word "REFERENCE:" (in capitals) on commented lines. Searching for this word will take you to the line of code where the particular routine has a reference to the textbook. NOTE: Occasional references to other textbooks/journal papers are also made following the word "REFERENCE:" on commented lines. 5. HYPLAS ERROR MESSAGING ====================== Most error/warning messages issued by HYPLAS are in the ASCII-format file ERROR.RUN (kept in the HYPLASHOME directory - ../HYPLAS_v2.0/bin). All such error/warning messages have an identification code (e.g. ED0015) which is printed both to the standard output (this is usually the computer screen) and to the relevant results file. If you wish to find where in the source code a particular message is being issued, then perform a search for the corresponding message identification code in the entire source code of HYPLAS. 6. FURTHER REMARKS ON HYPLAS ========================= 6.(a) Program efficiency THIS SECTION IS OF INTEREST ONLY TO THOSE WANTING TO MAKE HYPLAS RUN FASTER. It is particularly stressed in the textbook that this program has not been designed having efficiency in mind (refer to Section 5.1.2 of the textbook). Its structure has been designed mainly to illustrate in a relatively clear manner the computer implementation of the techniques and algorithms described in the text, with a particular view to the implementation of solid constitutive models and finite elements. For those who are especially interested in the speed of the code, there are a few tips that could help in this direction. Unfortunately, these involve modifications to the source code which is probably most appropriate to readers with a good level of experience in finite element programming. To those with this particular interest, we can suggest the following: (i) The use of faster linear solvers This is probably the change that would result in a greater gain in efficiency. The Frontal Method adopted in subroutine FRONT (file ../HYPLAS_v2.0/src/GENERAL/front.f) has been designed originally to save memory (back in the days when computer memory was severely limited). There are currently a vast number of methodologies which focus on speeding up the linear solution, in addition to reducing memory storage requirements (which is a particularly important issue in the solution of large scale problems). Some of these are extensions/refinements of the original Frontal solver. We remark that a number of such procedures (with their respective source codes) are available (conditions may apply) from the LAPACK (Linear Algebra PACKage - http://www.netlib.org/lapack) repository or from the HSL Library (http://www.cse.cse.scitech.ac.uk/nag/hsl). For the reader interested in gaining speed, we would recommend the replacement of the existing solver of FRONT by a faster one. We remark though that this is a substantial programming task. Another aspect here is the fact that computing times in FRONT are directly linked to the frontwidth of the system which, in the present version of HYPLAS is fixed and depends, for a given mesh, on how the degrees of freedom are numbered (node numbering). The incorporation of a frontwidth optimiser (which re-numbers the degrees of freedom in order to minimise the frontwidth) in FRONT could produce some good savings in computing times. Such savings become particularly noticeable in larger problems where the original node numbering produces an excessively large frontwidth. (ii) Material-specific computations The issues pointed out here affect only the computing times for specific material models and are expected to have a much lower impact in overall speed than the linear solver issue discussed above. Some of the material model-specific computations carried out in HYPLAS could be made a bit faster. For example, for isotropic models whose stress update is carried out in the principal stress space (such as the Tresca and Mohr-Coulomb models - see routines SUTR and SUMC, files ../HYPLAS_v2.0/src/TRESCA/sutr.f and ../HYPLAS_v2.0/MOHR_COULOMB/sumc.f, respectively) the spectral decomposition of the stress in carried out in the state update update routine and then repeated in the corresponding routine for computation of the consistent tangent operator (refer to files ../HYPLAS_v2.0/src/TRESCA/cttr.f and ../HYPLAS_v2.0/src/MOHR_COULOMB/ctmc.f, respectively, for the Tresca and Mohr-Coulomb plasticity models). Some savings in computing time can be achieved here by storing the stress eigenprojection tensors (these can be stored as state variables) during the execution of the state updating and then retrieving them later for use in the computation of the consistent tangent operator. This change can be incorporated to the code relatively easily. The computation of the exponential map and is derivative for the single crystal plasticity model (routines EXPMAP, file ../HYPLAS_v2.0/src/CRYSTAL/expmap.f and DEXPMP, file ../HYPLAS_v2.0/src/CRYSTAL/dexpmp.f) is carried out in three dimensions (these routines have been adapted from an earlier three-dimensional code). To improve efficiency, these can be adapted to work only in two-dimensional problems by removing the unnecessary operations related to the third dimension. 6.(b) Output of nodal averaged values The reader should be aware that the way in which nodal averaged values of stresses and other variables are calculated in HYPLAS is very basic (and rudimentary). This feature of the program is made available only to help those interested in producing contour plots, etc from results presented in HYPLAS result files and should be useful in many circumstances of interest. This facility has in fact been used in producing many of the figures presented in the textbook. But note, for example, that the values of incremental plastic multipliers for plasticity models may take (inadmissible) negative values when extrapolated from Gauss-point to nodes and averaged. We remark that more sophisticated and refined techniques of transferring Gauss point values of variables to nodal points and obtaining the corresponding smoothed field are available in the current literature. These fall outside the scope of the companion textbook of HYPLAS.
Platform: | Size: 11008084 | Author: gtcewli3 | Hits:

[BooksC++AandQ

Description: 本文根据发表在CUJ Expert Forum上的两篇文章编译而成。C/C++ User s Journal是目前最出色的C/C++语言专业杂志,特别是在C++ Report闭刊之后,CUJ的地位更加突出。CUJ Expert Forum是CUJ主办的网上技术专栏,汇集2000年10月以来C++社群中顶尖专家的技术短文,并免费公开发布,精彩纷呈,是每一个C/C++学习者不可错过的资料。由Jim Hyslop和Herb Sutter主持的Conversation系列,是CUJ Expert Forum每期必备的精品专栏,以风趣幽默的对话形式讲解C++高级技术,在C++社群内得到广泛赞誉。译者特别挑选两篇设计模式方面的文章,介绍给大家。设计模式方面的经典著作是GoF的Design Patterns。但是那本书有一个缺点,不好懂。从风格上讲,该书与其说是为学习者而写作的教程范本,还不如说是给学术界人士看的学术报告,严谨有余,生动不足。这一点包括该书作者和象Bjarne Stroustrup这样的大师都从不讳言。实际上Design Pattern并非一定是晦涩难懂的,通过生动的例子,一个中等水平的C++学习者完全可以掌握基本用法,在自己的编程实践中使用,得到立竿见影的功效。这两篇文章就是很好的例证。本文翻译在保证技术完整性的前提下作了不少删节和修改,以便使文章显得更紧凑。 -Based on the published in CUJ Expert Forum on the two articles from compiler. C/C User's Journal is the most excellent C/C language magazine, especially in the C Report to be closed, the status of CUJ more prominent. CUJ CUJ Expert Forum is sponsored by the online technology column Survey October 2000 C community has been the top technical expert appeared, and free public release, brilliant, Each is a C/C learners should not miss the information. By Jim Hyslop and Herb Sutter auspices of the Conversation series, CUJ Expert Forum is an essential quality each column a humorous forms of dialogue on the High C technology, the C community has been widely acclaimed. Translator selected two design patterns of articles introducing to you. Design patterns of the classics is GoF Design Pat
Platform: | Size: 134144 | Author: | Hits:

[VC/MFCC++talk

Description: 本文根据发表在CUJ Expert Forum上的两篇文章编译而成。C/C++ User s Journal是目前最出色的C/C++语言专业杂志,特别是在C++ Report闭刊之后,CUJ的地位更加突出。CUJ Expert Forum是CUJ主办的网上技术专栏,汇集2000年10月以来C++社群中顶尖专家的技术短文,并免费公开发布,精彩纷呈,是每一个C/C++学习者不可错过的资料。由Jim Hyslop和Herb Sutter主持的Conversation系列,是CUJ Expert Forum每期必备的精品专栏,以风趣幽默的对话形式讲解C++高级技术,在C++社群内得到广泛赞誉。译者特别挑选两篇设计模式方面的文章,介绍给大家。设计模式方面的经典著作是GoF的Design Patterns。但是那本书有一个缺点,不好懂。从风格上讲,该书与其说是为学习者而写作的教程范本,还不如说是给学术界人士看的学术报告,严谨有余,生动不足。这一点包括该书作者和象Bjarne Stroustrup这样的大师都从不讳言。实际上Design Pattern并非一定是晦涩难懂的,通过生动的例子,一个中等水平的C++学习者完全可以掌握基本用法,在自己的编程实践中使用,得到立竿见影的功效。这两篇文章就是很好的例证。本文翻译在保证技术完整性的前提下作了不少删节和修改,以便使文章显得更紧凑。
Platform: | Size: 136192 | Author: 123 | Hits:

[Windows Developwhatsize

Description: Windows的小历史:第一篇如何写作Windows程序的介绍文章出现在《Microsoft Systems Journal》1986年12月号上。在那篇文章中,范例程序叫做WSZ(「what size:什么尺寸」),它以图素、英寸和毫米为单位显示了显示区域的大小。那个程序的更简易版本是whatsize。程序显示了以五种度量映像方式显示的窗口显示区域的大小。-Windows Small history: how to write the first introduction of Windows procedures in the article " Microsoft Systems Journal" 1986 years on its 12 month. In that article, the example of the procedure is called WSZ ( " what size: What size" ), its pixels, inches and millimeters for the unit demonstrated the size of display area. Procedures that are more user-friendly version whatsize. Program shows the way to five metric image of the window shows the size of display area.
Platform: | Size: 1142784 | Author: xuqin | Hits:

[ERP-EIP-OA-Portalzzffgl_Src

Description: 本套程序是一款基于VB+Access实现的轻型杂志分发管理系统,界面友好,通过这个程序可以实现杂志信息的录入、编辑、读者信息编辑、订阅信息编辑以及进行读者、杂志资源等各方面的快速查询,本程序数据库使用较早版本的Access,你最好转换成现在常用的版本,程序运行如上示,编译顺利。-This is a set of procedures based on the realization of VB+ Access Journal of the light distribution management system, user-friendly, this process can be achieved through the journal entry information, editors, readers information editing, editing as well as subscription information readers, magazines and other resources Quick query, the database used earlier versions of Access, you may as well be now converted into commonly used version, the program is running above that, compile smoothly.
Platform: | Size: 267264 | Author: 刘聚凯 | Hits:

[Othershu

Description: 仿龙泉单用户多期刊系统,asp源码-Longquan like single-user multi-journal system, asp source code. . . . . . .
Platform: | Size: 837632 | Author: pp | Hits:

[Program docsip1

Description: 期刊文章,主要介绍SIP协议,以及用JAVA 接口实现用户代理软件的方法-Journal articles, mainly introduces the SIP protocol, as well as the method of using JAVA interface to realize the user agent software
Platform: | Size: 47104 | Author: lll | Hits:

[VC/MFCboost

Description: 超越c++标准库——boost程序库导论.chm 深入学习c++的优秀教材。 其作者 Bjö rn Karlsson 是ReadSoft公司的资深软件工程师,他的主要时间用于C++设计及编程。他曾在C/C++ Users Journal,Overload, 以及在线杂志 The C++ Source上发表过大量关于C++和Boost文章。 Karlsson是The C++ Source 顾问组的成员,同时也是C/C++ Users Journal编辑组的成员,同时还是专家论坛的专栏作家之一。他参与 了Boost新闻组,并且是Boost与用户的协调人之一。 -Beyond the c++ standard library- boost libraries Introduction. Chm in-depth study of outstanding teaching c++. ReadSoft its author Bjö rn Karlsson is a senior software engineer, his main time for C++ design and programming. He has worked in C/C++ Users Journal, Overload, and the online magazine The C++ Source has published extensively on C++ and Boost the article. Karlsson is The C++ Source Advisory Group members, but also C/C++ Users Journal editorial members of the group is also a columnist for one of the expert forum. He participated in the Boost newsgroups, and is the co-ordination Boost one of the user.
Platform: | Size: 472064 | Author: yegang | Hits:

[Program docNS3A_Review

Description: This is the paper based on network simulator 3, which got published in international journal written by me. It makes new user very familiar with this newly proposed Network Simulator. There is a sample script is also given by me. It also discusses the comparison between the two simulators NS2 and NS3
Platform: | Size: 684032 | Author: ashish | Hits:

[ERP-EIP-OA-PortalCommonRightManageFrameWork.RAR

Description: 进行后台管理模块整合. 1)其可以支持多个应用,多个模块的权限管理. 2)支持Access和MsSql200/2005及Oracle9i以上. 3)采用角色来进行权限的授权,每个用户可以属于多个角色,享有交差权限. 4)整合方便,权限检测采用httpmodule方式检测.基本不用对原有程序进行修改,便可将原有程序进行整合. 5)可视化编辑,全新的Menu和Tab控件.支持拖拉式编辑. 6)统一的事件日志管理,所有登陆操作都有安全记录. 7)每个模块的每个栏目对应一个目录, 栏目的权限默认抽象分为(查看/新增/修改/删除/排序/打印/备用A/备用B),每栏目权限可最多扩展为20个自定义权限. 8)可通过目录中web.config来进行目录文件权限配置,可直接将某个文件名设定到相对应的权限上.-Integrate background manages modules 1)support multi applications and multi modules 2)supper Access和MsSql200/2005及Oracle9i 3)Authority by role s right,one user belong many roles,and can cross the right 4)Integrate easy,right check by httpmodule type.don t need modify program. 5)Visualble edit,fresh menu and tab control ,support drop edit 6)journal manage,record all login and operation
Platform: | Size: 2264064 | Author: 牧野牛 | Hits:

[Crack HackSomeIdeasInC

Description: 本文根据发表在CUJ Expert Forum上的两篇文章编译而成。C/C++ User s Journal是目前最出色的C/C++语言专业杂志,特别是在C++ Report闭刊之后,CUJ的地位更加突出。CUJ Expert Forum是CUJ主办的网上技术专栏,汇集2000年10月以来C++社群中顶尖专家的技术短文,并免费公开发布,精彩纷呈,是每一个C/C++学习者不可错过的资料。由Jim Hyslop和Herb Sutter主持的Conversation系列,是CUJ Expert Forum每期必备的精品专栏,以风趣幽默的对话形式讲解C++高级技术,在C++社群内得到广泛赞誉。-This article published in the CUJ Expert Forum based on two articles compiled from. C/C++ User' s Journal is the best C/C++ language magazines, especially in C++ Report published after the close, CUJ more prominent position. CUJ CUJ Expert Forum is sponsored online technology column, bringing together in October 2000 C++ community has been leading experts in the technical essay, and publicly available for free, colorful, every C/C++ learners can not miss the information. By the Jim Hyslop and Herb Sutter hosted Conversation series, is CUJ Expert Forum column each boutique necessary to explain the form of humorous dialogue with C++ Advanced Technology, in C++ community has received wide acclaim.
Platform: | Size: 134144 | Author: mario | Hits:

[Windows DevelopCPP-Gotchas

Description: C++程序设计陷阱。作者Stephen Dewhurst曾经是贝尔实验室中第一批C++使用者的一员,他具有将近20年的C++应用经验,曾经用C++解决了诸多领域中的问题,如编译器设计、证券安全交易、电子商务以及嵌入式通讯等领域。他还是《Programming in C++》的作者之一,是C/C++ User Journal杂志的编辑和C++ Report杂志的专栏作家。更为重要的是,他还是两个C++编译器的开发者。   书做到极至,可以令许多拥有它的人感到释怀,于是,我身边的同行朋友就把它当成一本指南,不是把玩,而是反复地阅读,仔细地回味- Avoiding common Problems in coding and design , stephen c.dewhurst 。 The author Stephen Dewhurst was bell LABS in the first C++ a member of the user, he has nearly 20 years of c + + application experience, once in c + + to solve the problems in many fields, such as the compiler design, securities transactions, electronic commerce and the safety of embedded communication, etc. He still "Programming in C++", one of the authors of C/C + + User Journal magazine editors and C + + Report magazine columnist. Even more important, he is still two c + + compiler developers. Book do extreme, can make many people who have this was let go, so, I nearby of the colleague friend put it as a guide, not play, but repeated to read carefully, to a...
Platform: | Size: 21272576 | Author: ellin | Hits:

[Software EngineeringMT-002-Nyquist-about-DQS-

Description: 只是快速阅读Harry Nyquist于1924年发表的《贝尔系统技术杂志》经典文章(参考文献1), 并不足以了解以其名字命名的该项准则的真正意义。当时,Nyquist正致力于研究通过带 宽受限的通道传输电报信号。处理数据采样系统时,必须详细了解现代对奈奎斯特准则的 全新诠释。本指南将以通俗易懂的方式介绍奈奎斯特准则如何运用于基带采样、欠采样和 过采样应用。-Just a quick reading Harry Nyquist classic " Bell System Technical Journal article published in 1924 (Reference 1), is not sufficient to understand the true meaning of its named after the guidelines. At that time, Nyquist is dedicated to the study by bandwidth-limited channel transmission telegraph signal. Processing data sampling system must learn more about modern new interpretation of the Nyquist criterion. This guide will be user-friendly way to introduce the Nyquist criterion used in baseband sampling, under-sampling and sampling applications.
Platform: | Size: 363520 | Author: 边城 | Hits:

[VC/MFCC-and-C-PP-essence

Description: 《C和C++代码精粹》基于作者备受好评的C/C++ User Journal杂志上的每月专栏,通过大量完全符合ISO标准C++的程序集合,说明了C++真正强大的威力,是C和C++职业程序员的实践指南。可以帮助有一定经验的C和C++程序员深入学习这两种密切相关的语言,对书中代码的参悟和应用,可以帮助他们从根本上提高使用程序的效率。- C and C++ essence, based on a monthly columnist acclaimed C/C++ User Journal magazine, by a large number of full compliance with the ISO standard C++ program collection illustrates the C++ really strong power, is C and C++ vocational program practical Guide members. Can help with some experience of C and C++ programmers in-depth study of these two closely related languages​ ​ , the book pondering the meaning and application of the code, you can use the program to help them improve the efficiency of all.
Platform: | Size: 7497728 | Author: Immanuel | Hits:

[CSharpDaiMa

Description: 这是某高校学术期刊网络管理系统,主要功能要求如下: 1,投稿人管理系统:包括查看待审稿件模块、查看已审稿件模块、我要投稿模块、 修改登录密码模块、注册模块、个人资料设置模块。 修改登录密码模块、注册模块、个人资料设置模块; 2,编委管理系统:包括待审稿件模块、拒审稿件模块、专家已审稿件模块、编委已 批稿件模块、个人资料设置模块、修改登录密码模块; ; 3,专家管理系统:包括待审稿件模块、已审稿件模块、个人资料设置模块、修改登录密码。 ; 录密码模块; 4,管理员管理系统:包括用户管理模块、专家管理模块、编委管理模块、稿件管理 模块、个人资料设置模块、修改登录密码模块; 5,在线查询系统:可通过按作者、期刊标题、关键字进行检索。-This is a scholarly journal NMS universities, major functional requirements are as follows: 1, contributor management system: including viewing pending manuscript module, view the trial manuscript module, I want to contribute modules modify the login password module, registration module, profile Settings module. Modify the login password module, registration module, profile settings module 2, editorial management system: including pending manuscript module, refused the trial manuscript module, experts have trial manuscript module, editorial articles module has been approved, profile settings module, modify Password module 3, expert management system: including pending manuscript module, the module has the trial manuscript, profile settings module, change the login password. Recorded cryptographic module 4, administrator management system: including user management module, expert management module, editorial management module, manuscript management module, profile settings module,
Platform: | Size: 40960 | Author: xudasong | Hits:

[Web Serverqikanshu

Description: 仿龙泉单用户多期刊系统 用户和密码均为admin-Imitation Longquan single-user multi-journal system User and password are admin
Platform: | Size: 815104 | Author: zhiqie | Hits:

[Web Serveryywldiy

Description: 日记本名称 默认风格 用户风格 日记本地址 网站名称 日记首页底部版权 你的网站地址 闪烁文字特效的色彩代码 音乐系统设置 歌曲列表-Journal Title The default style User style Diary address Site Name Home Diary bottom Rights Your website address Flashing text effects color codes Music System Settings The song list
Platform: | Size: 519168 | Author: vjdv | Hits:

[Web Servereptimehome_sql

Description: 1、随时随地通过互联网记账。 2、可以按成员、按时间来录入、分析和统计常见的收入和支出。 3、独特的统计列表,生成柱状图形,可导出为Excel表格,更加方便用户统计,编辑,打印。 4、省去了纸质记账的麻烦,数据随时备份,绿色环保。 5、通过手机WAP随时登陆、实时记账。-1, anytime, anywhere via the Internet journal. 2, can be a member, according to the time entry, analysis and statistics common income and expenditure. 3, the unique list of statistics, generate bar graph can be exported to Excel spreadsheets, more user-friendly statistics, edit, print. 4, eliminating the need for paper-based accounting troubles, backup data at any time, green. 5, through the mobile phone WAP landing at any time, real-time billing.
Platform: | Size: 294912 | Author: chenwang | Hits:
« 12 »

CodeBus www.codebus.net